1. Workflows
Leadfeeder API
  • Leadfeeder API
  • Authentication
  • Getting Started
  • Rate Limits
  • Relationships
  • Company ID Lifecycle
  • OpenAPI Specification Access
  • List of NACE / WZ codes
  • List of Industries
  • AI & MCP (Beta)
    • Overview of the Leadfeeder MCP Server
    • Quickstart
    • Connect your AI tool
    • Authentication and permissions
  • Account
    • List Accounts
  • Companies
    • Get Company Details
    • Update a Company
    • Retrieve Companies
    • Company Financial Reports
    • Retrieve Company IPs
    • Search Company Signals
    • Search Companies
    • Match Companies
    • Add Company to Lists
    • Remove Company from Lists
    • Assign Tags to Company
    • Unassign Tags from Company
    • Estimate Company Enrichment Job
    • Create Company Enrichment Job
    • Get Company Enrichment Job Status
  • Contacts
    • Get Contact Details
    • Update a Contact
    • Retrieve Contacts
    • Search Contacts
    • Add Contact to Lists
    • Remove Contact from Lists
    • Estimate Find Contact Data Job
    • Create Find Contact Data Job
    • Get Find Contact Data Job Status
  • Web Visits
    • How to Create Custom Feed
    • Custom Feed - Filter Reference
    • Search Web Visits
    • Retrieve Custom Feeds
    • Create a Custom Feed
    • Get Custom Feed Details
    • Update Custom Feed
    • Delete a Custom Feed
    • Retrieve Custom Feeds Folders
    • Retrieve Web Visits Tracker Script
    • Retrieve Visitor Companies
  • Campaigns
    • Retrieve Campaigns
    • Get Campaign Details
    • Update Campaign
    • Retrieve Campaign Stats
  • IP
    • Enrich Company IP Address
  • Buyer Personas
    • Retrieve Buyer Personas
    • Create a Buyer Persona
    • Get Buyer Persona Details
    • Update a Buyer Persona
    • Delete a Buyer Persona
  • Ideal Customer Profiles
    • Retrieve Ideal Customer Profiles
    • Create an Ideal Customer Profile
    • Get Ideal Customer Profile Details
    • Update an Ideal Customer Profile
    • Delete an Ideal Customer Profile
    • Retrieve Company ICP Matches
  • Tags
    • Retrieve Tags
    • Create Tag
    • Get Tag Details
    • Update Tag
    • Delete Tag
    • Create Batch Add Tags Job
    • Get Batch Add Tags Job
    • Create Batch Remove Tags Job
    • Get Batch Remove Tags Job
  • Lists
    • Retrieve Lists
    • Create a List
    • Get List Details
    • Update List
    • Delete List
    • Retrieve List Items
    • Retrieve Company List Memberships
    • Retrieve Contact List Memberships
    • Create Batch Add to List Job
    • Get Batch Add to List Job
    • Create Batch Remove from List Job
    • Get Batch Remove from List Job
  • Custom Fields
    • Retrieve Custom Fields
    • Create Custom Field
    • Get Custom Field Details
    • Update Custom Field
    • Delete Custom Field
  • Users
    • Get Current User
  • Usage
    • Get Endpoints Usage
  • Workflows
    • Retrieve Workflows
      GET
    • Create Workflow
      POST
    • Retrieve Workflow Action Definitions
      GET
    • Retrieve Workflow Trigger Definitions
      GET
    • Retrieve Workflow Templates
      GET
    • Get Workflow Details
      GET
    • Update Workflow
      PATCH
  • Reference Data
    • Get Geo Suggestions
    • Get Countries with Regions
  • Schemas
    • AccountCompanyV1
    • AccountV1
    • AccountSummaryV1
    • CompanyV1
    • ErrorObjectV1
    • ICPV1
    • CompanyFinancialsV1
    • IpAddressExtendedV1
    • UserV1
    • CompaniesAdvancedSearchFilterItem
    • ContactFilterGroupsV1
    • BuyerPersonaV1
    • ContactV1
    • EnrichmentJobV1
    • GeoSuggestionV1
    • ContactSummaryV1
    • MaskedContactSummaryV1
    • TagV1
    • ListV1
    • IcpRequestV1
    • VisitLocationV1
    • BuyerPersonaRequestV1
    • WebVisitV1
    • BatchAddTagsJobV1
    • BatchRemoveTagsJobV1
    • CRMUserV1
    • CRMOrganizationV1
    • EnrichedIpV1
    • CRMContactV1
    • CRMLeadV1
    • CRMConnectionV1
    • CustomFeedRequestV1
    • CRMSuggestionV1
    • CRMGroupConnectionV1
    • WorkflowV1
    • WorkflowActionDefinitionV1
    • CompanyIpV1
    • WorkflowTriggerDefinitionV1
    • WorkflowTemplateV1
    • SignalV1
    • CompanySummaryV1
    • MaskedCompanySummaryV1
    • CompanyMatchV1
    • CountryV1
    • FindContactDataJobV1
    • BatchAddToListJobV1
    • CustomFieldV1
    • BatchRemoveFromListJobV1
    • CustomFeedV1
    • CampaignSettingsV1
    • CampaignSummaryV1
    • CampaignLocationV1
    • CampaignV1
    • CampaignStatsV1
    • IpLocationV1
    • NetworkV1
    • ApiUsageV1
    • CustomFeedFolderV1
    • WebVisitsTrackerScriptV1
    • LocationV1
    • CompanyLocationV1
  1. Workflows

Retrieve Workflow Templates

GET
/v1/workflows/templates
Retrieve the pre-built workflows you can start from, each a ready-made definition with the values that depend on your account left out.
A template is the quickest route to a working workflow: instead of wiring triggers and steps yourself, take a template's definition, fill in its variables, and post the result to Create Workflow.
Wherever a value has to be supplied, the definition carries a {{variables.<name>}} placeholder, and the matching entry under variables says what that value is for and what it accepts — its entity_type, whether it takes a list (array), and the values it is restricted to (available_options), if any.
A placeholder always takes up the whole value it stands in for and is never part of a longer string, so filling one in means replacing the whole string. That is also what lets a variable hold an array or a number rather than only text. One variable may appear in more than one place — a CRM connection used by two export steps is one variable — and the value you supply goes into every placeholder that names it.
A definition still holding a placeholder is not a valid definition. It is accepted by Create Workflow, which stores a definition without validating it, but the workflow cannot be enabled until every placeholder is replaced.
The list is the same for every account — it describes what the platform ships, not what the account has set up. Templates are added and revised over time, so treat the list as open-ended; a template's id is stable and can be stored.
Credit Note: Retrieving templates does not consume credits.
INFO
Requires the workflows:read OAuth2 scope.

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.leadfeeder.com/v1/workflows/templates?account_id=123456' \
--header 'X-Api-Key: <api-key>'

Responses

🟢200OK
application/json
Success
Bodyapplication/json

Example
{
    "data": [
        {
            "type": "workflow_template",
            "id": "template-prospects-to-n8n-automation",
            "attributes": {
                "name": "Send qualified prospects to n8n Automation",
                "description": "Automatically send companies to a n8n automation when they're added to a list.",
                "categories": [
                    "outbound"
                ],
                "workflow_type": "company",
                "definition_version": "V1",
                "definition": {
                    "triggers": [
                        {
                            "name": "organization_added_to_list",
                            "filters": [
                                {
                                    "attribute": "list_id",
                                    "value": "{{variables.trigger_list_id}}"
                                }
                            ],
                            "options": {}
                        }
                    ],
                    "order": {
                        "trigger": [
                            "step-1-send-webhook"
                        ],
                        "step-1-send-webhook": []
                    },
                    "steps": {
                        "step-1-send-webhook": {
                            "action_name": "send_organization_to_webhook",
                            "options": {
                                "url": "{{variables.webhook_url}}"
                            }
                        }
                    }
                },
                "variables": {
                    "trigger_list_id": {
                        "description": "The list to watch. A company entering it starts the workflow.",
                        "entity_type": "company_list",
                        "required": true,
                        "array": false,
                        "available_options": null
                    },
                    "webhook_url": {
                        "description": "The n8n webhook the company is posted to.",
                        "entity_type": "string",
                        "required": true,
                        "array": false,
                        "available_options": null
                    }
                }
            }
        },
        {
            "type": "workflow_template",
            "id": "template-alert-sales-lost-opportunity",
            "attributes": {
                "name": "Alert sales when a lost opportunity visits high intent pages",
                "description": "Get notified when a lost opportunity shows renewed interest on your website.",
                "categories": [
                    "rebound"
                ],
                "workflow_type": "company",
                "definition_version": "V1",
                "definition": {
                    "triggers": [
                        {
                            "name": "organization_added_to_list",
                            "filters": [
                                {
                                    "attribute": "list_id",
                                    "value": "{{variables.custom_feed_id}}"
                                }
                            ],
                            "options": {
                                "type": "custom_feed"
                            }
                        }
                    ],
                    "order": {
                        "trigger": [
                            {
                                "cliftonite_filters": {
                                    "integrations_opportunity_status": [
                                        "lost"
                                    ]
                                },
                                "step_if_true": "step-1-send-slack"
                            }
                        ],
                        "step-1-send-slack": []
                    },
                    "steps": {
                        "step-1-send-slack": {
                            "action_name": "send_organization_to_slack",
                            "options": {
                                "integration_connection_id": "{{variables.slack_connection_id}}",
                                "channel_id": "{{variables.slack_channel_id}}"
                            }
                        }
                    }
                },
                "variables": {
                    "custom_feed_id": {
                        "description": "The custom feed to watch. A company entering it starts the workflow.",
                        "entity_type": "company_list",
                        "required": true,
                        "array": false,
                        "available_options": null
                    },
                    "slack_connection_id": {
                        "description": "The Slack connection the alert is sent through.",
                        "entity_type": "integer",
                        "required": true,
                        "array": false,
                        "available_options": null
                    },
                    "slack_channel_id": {
                        "description": "The Slack channel the alert is posted to.",
                        "entity_type": "string",
                        "required": true,
                        "array": false,
                        "available_options": null
                    }
                }
            }
        }
    ],
    "meta": {
        "num_results": 2,
        "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
🔴504Gateway Timeout
Modified at 2026-08-31 12:06:53
Previous
Retrieve Workflow Trigger Definitions
Next
Get Workflow Details
Built with