Receive Lection webhooks with an HTTP Trigger node and fan out to workflows.
Setup Steps
- Create a workflow → add HTTP Trigger node (method POST).
- Copy the test URL and paste it into Lection’s "n8n" delivery URL.
- Run a test scrape to populate sample data in the node.
- Add a Split In Batches or Item Lists loop over dataset.records to insert rows into your destination.
- Activate the workflow; Lection will POST for every completed scheduled scrape.
Mapping Tips
- HTTP Trigger node exposes the JSON in {{$json}}; dataset.records is the array to loop.
- Use download.url for a file link; status is in run.status.
Payload Highlights
- event: scheduled_scrape.completed; dataset.rowCount + dataset.records payload.
Helpful Links
Test Checklist
- Set webhook URL and optional secret in Lection.
- Run a scheduled scrape to capture sample data.
- Confirm
dataset.recordsanddownload.urlarrive in your tool. - Publish/activate the workflow so production runs stay wired.