Menu

Zapier

Use Webhooks by Zapier (POST) or Code by Zapier. Use the URL below.

Success path (webhook)

  1. Add Webhooks by Zapier. For outbound POST to FlowPulse, use a POST action or a Code step (not Catch Hook).
  2. 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:

  1. Error handler step (if available): POST to /api/v1/ingest/run-failure with error_message and ended_at.
  2. 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.