Zapier
Use Webhooks by Zapier (POST) or Code by Zapier. Use the URL below.
Success path (webhook)
- Add Webhooks by Zapier. For outbound POST to FlowPulse, use a POST action or a Code step (not Catch Hook).
- For a custom POST to FlowPulse, prefer Code by Zapier or an app that allows setting URL, headers, and raw JSON.
URL: https://app.flowpulse.xyz/api/v1/ingest/run-success
Headers: Content-Type: application/json, X-API-Key: your_key
Body: JSON with workflow_id or workflow_slug, ended_at, and optional fields such as external_execution_id and source_platform: "Zapier".
Failure path
Zapier error handling varies by plan. Options:
- Error handler step (if available): POST to
/api/v1/ingest/run-failurewitherror_messageandended_at. - Code step: wrap logic in try/catch and call the failure endpoint in the catch block.
Code by Zapier (success)
const response = await fetch("https://app.flowpulse.xyz/api/v1/ingest/run-success", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "fp_your_key",
},
body: JSON.stringify({
workflow_id: inputData.flowpulse_workflow_id,
ended_at: new Date().toISOString(),
external_execution_id: inputData.zap_run_id,
source_platform: "Zapier",
metadata: {},
}),
});
return { status: response.status };
Replace the placeholder key with your ingestion API key.