Triggers define how and when a blueprint runs automatically. Each trigger is attached to a specific blueprint and has aDocumentation Index
Fetch the complete documentation index at: https://docs.iblueprint.ai/llms.txt
Use this file to discover all available pages before exploring further.
triggerType that determines the activation source — from a recurring schedule to an incoming Slack message. iBlueprint evaluates active triggers continuously and fires the associated blueprint when a trigger’s conditions are met. You can attach multiple triggers to a single blueprint.
Trigger types
| Type | Description |
|---|---|
manual | Fired explicitly via the blueprintTriggers.fire procedure or the iBlueprint UI. |
scheduled | Fires on a cron schedule. Supply a cron expression in config.cron. |
webhook | Fires when an external HTTP request hits the generated webhook URL. See Webhooks. |
email | Fires when an email arrives at the blueprint’s inbox address. |
slack | Fires when a specific Slack event occurs (e.g. a message in a channel). |
event | Fires in response to an internal iBlueprint platform event. |
api | Fires when called programmatically via the blueprintTriggers.fire mutation. |
List triggers — blueprintTriggers.list
Returns all triggers configured for a blueprint.
Procedure type: query (HTTP GET)
Endpoint:
Parameters
UUID of the blueprint whose triggers you want to list.
Response
An array of trigger objects.UUID of the trigger.
Blueprint this trigger is attached to.
One of the trigger types listed above.
Trigger-specific configuration. For
scheduled triggers, contains cron. For webhook triggers, may contain a secret for signature verification.true if the trigger is currently enabled.UUID of the user who created the trigger.
Example
Create a trigger — blueprintTriggers.create
Adds a new trigger to a blueprint.
Procedure type: mutation (HTTP POST)
Endpoint:
Parameters
UUID of the blueprint to attach the trigger to.
The type of trigger. Accepted values:
manual, scheduled, webhook, email, slack, event, api.Trigger-specific configuration object. Defaults to For a
{}.For a scheduled trigger, provide a cron expression:webhook trigger, you can optionally provide a secret for signature verification: