Skip to main content
Retrieve a set of example workflows demonstrating common automation patterns.

Overview

The Workflow Examples endpoint returns pre-built example workflows that illustrate best practices for common use cases. Each example includes a complete workflow definition that can be used as a starting point for your own workflows.

Authentication

Requires a valid API key. No special permission scope is needed beyond a valid key.

Key Features

  • Ready-Made Templates: Complete workflow definitions you can adapt
  • Common Patterns: Covers lead routing, enrichment, notifications, and more
  • Step-by-Step: Each example shows how actions chain together
  • No Credit Cost: This endpoint is free to use
curl -X GET "https://api.trigify.io/v1/workflows/examples" \
  -H "x-api-key: YOUR_API_KEY"

Example Response

{
  "success": true,
  "data": {
    "items": [
      {
        "name": "Summarise New Posts to Slack",
        "description": "Runs an AI summary on each new post and sends the result to a Slack channel.",
        "category": "simple",
        "workflow": {
          "trigger": { "kind": "workflows/new-post", "inputs": {} },
          "actions": [
            {
              "id": "agent-1",
              "kind": "generic_agent",
              "name": "Summarise Post",
              "inputs": {
                "outputFormat": "text",
                "model": "openai/gpt-5-mini",
                "prompt": "Summarise this social post in two concise bullet points: {{ !ref($.trigger.outputs.text) }}"
              }
            },
            {
              "id": "slack-1",
              "kind": "slack_send_channel_message",
              "name": "Send Summary",
              "inputs": {
                "channel": "#social-alerts",
                "message": "New post summary for {{ !ref($.trigger.outputs.authorUrl) }}:\n{{ !ref($.agent-1.result.output) }}"
              }
            }
          ],
          "edges": [
            { "from": "$source", "to": "agent-1" },
            { "from": "agent-1", "to": "slack-1" }
          ]
        }
      }
    ],
    "total": 1
  }
}

Response Fields

Each example in data.items includes:
FieldTypeDescription
namestringExample workflow name
descriptionstringWhat the workflow does
categorystringExample category
workflowobjectComplete workflow definition
workflow.triggerobjectTrigger configuration for the workflow
workflow.actionsarrayOrdered list of workflow actions
workflow.actions[].kindstringAction kind identifier (see List Workflow Actions)
workflow.actions[].namestringHuman-readable action name
workflow.actions[].inputsobjectAction input values, which may reference trigger data or previous outputs using {{ !ref(...) }} syntax
workflow.edgesarrayGraph edges connecting the trigger and actions

Credit Usage

This endpoint is free and does not consume credits.