Skip to main content

Command Summary

CommandPurpose
trigify workflow createCreate a workflow from JSON
trigify workflow listList workflows
trigify workflow getFetch one workflow
trigify workflow updateUpdate a workflow
trigify workflow deleteSoft-delete a workflow
trigify workflow draft upsertCreate or replace a draft for an existing workflow
trigify workflow draft getFetch the current draft
trigify workflow draft deleteDiscard the current draft
trigify workflow publishPublish the current draft
trigify workflow testTrigger a test execution
trigify workflow actionsList available workflow actions
trigify workflow examplesShow example workflows
trigify workflow executionsList execution history for a workflow
trigify workflow executionGet detailed execution log for a specific run

Workflow JSON Input

Commands that create or update workflow definitions accept JSON from exactly one of:
  • --workflow-file <path>
  • --workflow-stdin
Workflow validation runs before the API call. Structural auto-fix is enabled by default and can be disabled with --no-auto-fix. Example using a file:
trigify workflow create \
  --name "New post alert" \
  --workflow-file ./workflow.json \
  --status DRAFT
Example using stdin:
cat workflow.json | trigify workflow update \
  --id wf_123 \
  --workflow-stdin

trigify workflow create

Required flags:
  • --name <name>
Optional flags:
  • --description <description>
  • --workflow-file <path>
  • --workflow-stdin
  • --search-id <id>
  • --enabled <enabled> default false
  • --status <status> default DRAFT
  • --no-auto-fix
Example:
trigify workflow create \
  --name "Route competitor mentions" \
  --description "Notify Slack when competitor terms appear" \
  --search-id ss_123 \
  --workflow-file ./workflow.json \
  --enabled true \
  --status DRAFT

trigify workflow list

Optional flags:
  • --limit <number> default 20
  • --offset <number> default 0
  • --status <status>
Example:
trigify workflow list --status PUBLISHED --limit 10

trigify workflow get

Required flags:
  • --id <id>
Example:
trigify workflow get --id wf_123

trigify workflow update

Required flags:
  • --id <id>
Optional flags:
  • --name <name>
  • --description <description>
  • --workflow-file <path>
  • --workflow-stdin
  • --enabled <enabled>
  • --status <status>
  • --no-auto-fix
Example:
trigify workflow update \
  --id wf_123 \
  --description "Updated routing logic" \
  --workflow-file ./workflow.json

trigify workflow delete

Required flags:
  • --id <id>
Example:
trigify workflow delete --id wf_123

Draft Commands

trigify workflow draft upsert

Required flags:
  • --id <id>
Optional flags:
  • --name <name>
  • --description <description>
  • --workflow-file <path>
  • --workflow-stdin
  • --no-auto-fix
Example:
trigify workflow draft upsert \
  --id wf_123 \
  --workflow-file ./draft.json \
  --description "Add CRM enrichment branch"

trigify workflow draft get

Required flags:
  • --id <id>
Example:
trigify workflow draft get --id wf_123

trigify workflow draft delete

Required flags:
  • --id <id>
Example:
trigify workflow draft delete --id wf_123

trigify workflow publish

Publish the current draft to the live workflow and create a version snapshot. Required flags:
  • --id <id>
Optional flags:
  • --change-summary <summary>
Example:
trigify workflow publish \
  --id wf_123 \
  --change-summary "Add branch for enterprise lead routing"

trigify workflow test

Trigger a workflow test run against a workflow ID. Required flags:
  • --id <id>
Optional flags:
  • --author-url <url>
  • --post-json <json>
  • --test-config-json <json>
--post-json overrides --author-url when both are present. Simple example:
trigify workflow test \
  --id wf_123 \
  --author-url https://www.linkedin.com/in/example
Full payload example:
trigify workflow test \
  --id wf_123 \
  --post-json '{"author_url":"https://www.linkedin.com/in/example","text":"Interested in AI tooling","source":"linkedin","monitoring_type":"linkedin-posts"}'

Discovery Commands

trigify workflow actions

List all available workflow actions. Useful for discovering action kinds before building a workflow definition. Optional flags:
  • --category <category> filter by category: ai, enrichment, crm, messaging, social, control_flow, utility, integration, other
Example:
# List all actions
trigify workflow actions

# Filter by category
trigify workflow actions --category ai

trigify workflow examples

Display example workflows showing common automation patterns. Each example includes a complete workflow definition you can adapt.
trigify workflow examples

Execution History Commands

trigify workflow executions

List execution history for a specific workflow. Required flags:
  • --id <id>
Optional flags:
  • --page <number> default 1
  • --page-size <number> default 20
Example:
trigify workflow executions --id wf_123
trigify workflow executions --id wf_123 --page 2 --page-size 50

trigify workflow execution

Get the detailed execution log for a specific workflow run, including step-by-step inputs, outputs, and errors. Required flags:
  • --id <id>
  • --run-id <runId>
Example:
trigify workflow execution --id wf_123 --run-id run_x7k9m2
The public API docs currently focus more heavily on API endpoints than workflow authoring. The CLI is the most direct public reference for workflow draft and test operations.