Skip to main content
Blog/Integration Guide

Activepieces (Catch Webhook)

··5 min read

Trigger an Activepieces flow from Lection and route rows to any piece.

Setup Steps

  1. Create a flow → Trigger: “Webhook” → “Catch Webhook” → copy the live URL.
  2. In Lection, set the delivery channel to "Activepieces" and paste the URL.
  3. Run a test scheduled scrape, then load the sample data in the trigger.
  4. Add a Loop on Items step over dataset.records and map each row into your destination piece.
  5. Publish the flow.

Mapping Tips

  • The request body is available as trigger.body; the rows are trigger.body.dataset.records.
  • Use run.status to branch on failed runs.

Payload Highlights

  • event: scheduled_scrape.completed, version: 1.
  • dataset.records is an array of objects keyed by column name.

Test Checklist

  • Set webhook URL and optional secret in Lection.
  • Run a scheduled scrape to capture sample data.
  • Confirm dataset.records and download.url arrive in your tool.
  • Publish/activate the workflow so production runs stay wired.

Ready to supercharge your research?

Join thousands of researchers using Lection to capture and organize the web. It's free to get started.