New to Kestra?
Use blueprints to kickstart your first workflows.
Run an Apify actor, fetch its default dataset, and write the scraped web data into a Notion page on a schedule with Kestra orchestration.
Turn raw web scraping output into a living Notion document. This blueprint runs an Apify actor (the same actors that power Apify Store scrapers for social feeds, marketplaces, and search results), retrieves the dataset that run produces, and updates a Notion page with the results. It closes the gap between collecting web data and making it visible to your team, so scraped records land where people already work instead of sitting in an Apify dataset nobody opens.
run_actor task (io.kestra.plugin.apify.actor.Run) starts an Apify actor by actorId, capped with maxItems and parameterized through the input object (for example hashtags and resultsPerPage). It authenticates with apiToken and returns the run metadata, including defaultDatasetId.get_dataset task (io.kestra.plugin.apify.dataset.Get) reads that run output via {{ outputs.run_actor.defaultDatasetId }} and fetches the collected items from the Apify dataset.update_page task (io.kestra.plugin.notion.page.Update) writes a markdown content block to a Notion page identified by pageId, embedding both the actor run and dataset outputs so the latest scrape is always reflected in Notion.Apify can schedule an actor, but it stops at the dataset. Kestra carries the result across tools: it chains the actor run, the dataset fetch, and the Notion update as one declarative flow, passing outputs between tasks. Add a Schedule trigger to refresh Notion on a cadence, attach retries so a transient Apify or Notion API error does not break the chain, and get execution lineage, logs, and outputs for every run in one UI. That cross-service hand-off and end-to-end visibility is exactly what Apify's own scheduler cannot provide.
APIFY_API_TOKEN: Apify API token used by both Apify tasks.NOTION_API_TOKEN: Notion integration token for the page update.NOTION_PAGE_ID: id of the Notion page to update.APIFY_API_TOKEN, NOTION_API_TOKEN, and NOTION_PAGE_ID secrets to your Kestra instance.actorId to the Apify actor you want to run and adjust the input fields.Schedule trigger to run the scrape and refresh Notion daily or weekly.input to scrape a different source or marketplace.