Set when an automation runs by choosing its trigger. Pick a schedule for regular work, an event or webhook for work that reacts to something, or a manual trigger for work you start yourself.
Before you begin
- Setting a trigger needs the Manage automations permission, and only the automation's owner can change it.
- Scheduled, event and webhook automations also need the workspace to be authorized to run automations. See Authorize automations to run.
Which trigger to use
| Trigger | When it runs |
|---|---|
| On a schedule | At the times you set, using a preset or a custom schedule. |
| On an event | When something happens in a connected source: Gmail, Slack, Notion, Mercury or HubSpot. |
| Webhook | When another system sends a request to the automation's webhook address. |
| Manual | "Runs only when you click Run now. No automatic trigger." |
| Assistant-callable | When the assistant runs it from a chat. |
Choose a trigger
-
Open the trigger step
Open the automation in the builder and select the Trigger step.
-
Pick how it starts
Under How it starts, choose On a schedule, On an event, Webhook, Manual or Assistant-callable.
-
Set the details
Fill in the fields for that trigger, described in the sections below. Changes save automatically as a draft: "Saved as a draft on the Automations page. Activate to arm the trigger."
-
Activate it
Choose Activate. The trigger does nothing until the automation is active.
Set a schedule
Under How often, pick a preset: Weekdays 9am, Daily 9am, Mondays 9am, Fridays 5pm or Hourly. For anything else, choose Custom schedule and enter a five-part Cron expression (minute, hour, day, month, weekday).
Set Time zone, or choose Use device time zone. If you leave the time zone blank, the schedule uses UTC.
React to an event
Choose the Event source, then add an optional filter in Only when… (optional filter) to narrow which events start a run.
Receive a webhook
-
Choose Webhook and activate
Choose Webhook under How it starts, then Activate.
-
Copy the details
In Your webhook is ready, copy the Endpoint, the Secret and the Payload URL (secret included).
-
Confirm you saved them
Choose I've copied it. The secret is shown only this once.
-
Send the secret with each request
The calling system sends the secret in the
X-Hoppflow-Webhook-Secretheader, or as?secret=on the address.
The webhook address stays the same for the life of the automation. The secret is created the first time you activate. Only the owner can choose Rotate secret to replace it.
Plan for timing and limits
| Limit | Detail |
|---|---|
| Schedule and event checks | Hoppflow checks for due schedules and new events every 15 minutes, so a run can start up to that long after the time you set. |
| Webhook calls | Up to 120 webhook calls per minute for each workspace. Above that, callers are asked to retry shortly. |
| One run at a time | An automation has one active run at a time. A trigger that fires while a run is active is skipped. |
| Paused automations | A paused automation does not run from any trigger. |
Authorize automations to run
Scheduled, event and webhook automations do not run until someone in the workspace authorizes them. When this is needed, the Automations page shows a banner.
-
Find someone who can manage the team
Authorizing needs the Manage team permission.
-
Authorize
On the banner, choose Authorize automations to run.
Until then, an automation that depends on these triggers shows "This automation will not run because automations are not authorized to run in this workspace. Ask a workspace admin to authorize them."
Pause and resume
Hover over the automation's card on the Automations page and choose the pause icon (Pause). Choose it again (Resume) to start it again. Drafts have no pause button.
Trigger from a cockpit record
Start an automation when a sales deal, a cockpit record or a similar item is created or changes, from the separate Triggers page in Automations.
-
Start a new trigger
On the Triggers page, choose New trigger.
-
Set what to watch
Set When a and what should happen to it. Add up to five conditions with Add condition.
-
Pick the automation
Choose the automation under Run this automation, and set the Limits and timing.
-
Create it
Choose Create trigger.