include to pull in the user who created it, the user who turned it off, its recent run statistics, and the errors it has run into.404 instead.workflows:read OAuth2 scope.X-Api-Key: ********************curl --location 'https://api.leadfeeder.com/v1/workflows/9f8b7c6d5e4f?account_id=123456&include=created_by%2Crun_stats%2Cerrors' \
--header 'X-Api-Key: <api-key>'{
"data": {
"type": "workflow",
"id": "9f8b7c6d5e4f",
"attributes": {
"name": "Route hot leads to Slack",
"description": "Notifies #sales whenever a company lands on the Hot Leads list.",
"enabled": true,
"workflow_type": "company",
"version": 3,
"definition_version": "V1",
"definition": {
"triggers": [
{
"name": "company_added_to_list",
"filters": [
{
"attribute": "list_id",
"op": "eq",
"value": "42"
}
],
"options": {}
}
],
"steps": {
"enrich": {
"action_name": "enrich_company",
"options": {}
},
"notify_sales": {
"action_name": "send_company_to_slack",
"options": {
"channel": "#sales"
}
}
},
"order": {
"trigger": [
"enrich"
],
"enrich": [
{
"step_if_true": "notify_sales",
"step_else": null,
"cliftonite_filters": {
"organization_employee_count": {
"gte": 50
}
}
}
]
}
},
"has_errors": true,
"disabled_at": null,
"disabled_reason": null,
"created_at": "2026-07-20T09:15:00Z",
"updated_at": "2026-08-01T10:00:00Z",
"app_url": "https://app.leadfeeder.com/z/123456/workflows/9f8b7c6d5e4f"
},
"relationships": {
"created_by": {
"type": "user",
"id": "123456",
"attributes": {
"email": "jane.smith@example.com",
"first_name": "Jane",
"last_name": "Smith",
"phone_number": "+49 721 50057501",
"country_code": "DE",
"team_role": "admin"
}
},
"disabled_by": null,
"run_stats": {
"type": "workflow_run_stats",
"id": "9f8b7c6d5e4f",
"attributes": {
"triggered_count": 128,
"failed_count": 3,
"last_run_at": "2026-08-05T14:22:31Z"
}
},
"errors": [
{
"type": "workflow_error",
"id": "7d3f1a90c2b4e6f8",
"attributes": {
"step_id": "notify_sales",
"error_code": "connection_unauthorized",
"error_message": "The Slack connection is no longer authorised.",
"count": 3,
"first_seen_at": "2026-07-29T08:03:00Z",
"last_seen_at": "2026-08-05T14:22:31Z"
}
}
]
}
},
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}