Built-in and custom sources
- Built-in sources: GitHub, Jira, Linear, Zendesk, and Fathom. The admin connects the account and picks the events to watch, and Dust registers the webhook with the provider.
- Custom webhook: for any other system that can send HTTP requests. After saving the source, copy its Webhook URL and paste it into the system that sends the events. The URL contains a secret, so share it only with that system.
Create a webhook source (admins)
Only workspace admins can create webhook sources.1
Open the triggers page
Go to Spaces > Triggers and click Add source.
2
Pick the source
Pick a provider, or Custom webhook.
3
Set it up
Name the source. For a built-in source, connect your account and select the events to watch. For a custom webhook, set up the webhook.
4
Save
Save the source.
Add a webhook trigger to an agent
1
Pick the source
In the Agent Builder, go to Triggers > Add triggers and pick the source.
2
Set up the trigger
- Listen for (built-in sources): the event that runs the agent.
- Run only when (optional) (built-in sources): describe in plain language when the agent should run, and Dust generates the filter.
- Filter expression (optional) (custom webhooks): write the filter yourself. See Filter webhooks payload.
- Include webhook payload: send the event data to the agent, so it can use details like a ticketโs title or a pull requestโs author.
- Message (optional): what the agent should do on each run.
- Rate limits: the maximum number of runs over 24 hours. See Rate limiting.
- Credits and Where to create this conversation? (optional): see Triggers.
3
Save the agent
The trigger starts once you save the agent.
Related
Filter webhooks payload
Run the agent only on the events you care about.
Rate limiting
Cap how often a webhook trigger runs.
Triggers
See all the ways to run an agent automatically.
Credits usage
Choose whose credits pay for each run.