FlowRunner
Features Pricing
Theme
Start Free

A weekly digest of new Dovetail research docs in Notion and Slack

Each week this flow lists the docs created in Dovetail in the last seven days, publishes each one as a page in the research wiki in Notion, and posts the titles and wiki links to Slack.

The prompt

Every Monday morning, list the docs created in our Dovetail workspace in the last seven days. Export each one as Markdown and publish it as a page in our research wiki in Notion, with a link back to the doc in Dovetail. Then post one message to our product channel in Slack with every title and its wiki link. If there were no new docs, say so in the channel.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

The flow

No Yes Repeats for each item For each new doc Action Post the digest to theproduct channel Action Say the week hadno new docs Code Write the digest Action List the week'snew docs Condition Any new docs thisweek? Action Start the list of wikilinks Code Set the week's dates

Inside the loop: For each new doc

Action Export the doc asMarkdown Code Add the wiki link tothe digest Code Turn the doc intoNotion blocks Action Publish the doc tothe research wiki

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works

What each step does

  1. Set the week's dates Runs on its schedule, Monday morning, and sets the window to the last seven days.
  2. List the week's new docs Lists every doc created in your Dovetail workspace in that window, oldest first, up to 100.
  3. Any new docs this week? A week with no new docs ends with a short note in the product channel, so the team knows the digest ran.
  4. Export the doc as Markdown For each new doc, Export Doc returns the content as Markdown.
  5. Publish the doc to the research wiki Creates a page under your research wiki in Notion with the doc's title, its headings, paragraphs, lists and quotes, and a link back to the doc in Dovetail at the top.
  6. Post the digest to the product channel One message to the product channel in Slack: how many new docs the week produced, and each title linked to its wiki page and to the doc in Dovetail.

Before you turn it on

  • Enter your Dovetail personal API key (Settings > Account > Personal API keys in Dovetail) and connect your Notion and Slack accounts. Dovetail keys expire; create a new one and enter it when calls fail with 401.
  • Fill the flow setting Research wiki page with the ID of the Notion page the wiki lives under, and give your Notion connection access to that page.
  • Pick your product channel in the two Slack steps.
  • Set the flow's schedule to Monday morning, for example 8:00. The flow setting Days to look back is 7 to match; change both together for a different cadence.
  • Notion takes up to 100 blocks when a page is created. A longer doc is published up to that point, with a link to the rest in Dovetail.