Workflows
Triggers

Workflow Triggers

Get, create and update your Workflow Triggers.

📖

See the full documentation here.

API

You can manage all your triggers through the API.

This is a GraphQL API so you can fetch as much or as little information as desired from the different queries and mutations.

Mutations

workflows > createTrigger

Use this mutation to setup your trigger.

Mutation
mutation CreateTrigger($input: WorkflowTriggerInput!) {
  workflows {
    createTrigger(input: $input) {
      id
    }
  }
}
Example input
{
  "input": {
    "template_id": "ae17894e-9dfd-4dd3-ae8f-6f3d2c5e7ea7",
    "webhook_url": "https://my-wehook.com/",
    "workflow_input": [
      {
        "name": "PUBKEY",
        "value": "03006fcf3312dae8d068ea297f58e2bd00ec1ffe214b793eda46966b6294a53ce6"
      }
    ],
    "frequency": {
      "hour_interval": 12
    }
  }
}