How it fires
The mechanics are ordinary HubSpot workflow enrollment:- You build (or already have) a HubSpot workflow for contacts, companies, or deals, with whatever enrollment criteria you want.
- You add the Swan action as a step in that workflow — search for “Run Trigger” under the Swan app’s actions — and pick which Swan trigger it should run, from a dropdown of your organization’s enabled triggers.
- Every record that enrolls in the workflow and reaches that step fires the trigger, once per record.
https://agent.getswan.com/triggers/{triggerId}.
If you describe the criteria to Swan in chat instead of building the workflow by hand, Swan can create the whole HubSpot workflow for you — including the enrollment filters and the action step — so you don’t have to touch the HubSpot workflow builder at all.
The Swan automation a workflow runs belongs to an agent like any other: pick one or create one when you (or Swan) set it up, and the run uses that agent’s tools.
Filter groups
Whether Swan builds the workflow or you do, enrollment can be narrowed with filter groups: a collection of OR’d groups, where each group is an AND of individual conditions. A condition is either:- A property comparison — a HubSpot property compared against a value or set of values (equals, contains, greater than, is known/unknown, and so on). The valid operators depend on the property’s field type (text, number, date, boolean, or a picklist/enumeration). Date and datetime properties accept
IS_EQUAL_TO,IS_GREATER_THAN,IS_LESS_THAN,IS_GREATER_THAN_OR_EQUAL_TO,IS_LESS_THAN_OR_EQUAL_TO,IS_KNOWN, andIS_UNKNOWN— notIS_NOT_EQUAL_TO. Swan comparison names are translated to HubSpotIS_AFTER/IS_BEFOREwhen the workflow is created; inclusive bounds (GTE/LTE) shift the timestamp by 1ms because HubSpot has no inclusive datetime operator. DATETIME values must be an absolute ISO 8601 timestamp, not a relative phrase. - List membership — the record must belong to a specific HubSpot list.
What Swan receives
When the trigger fires, Swan gets the HubSpot object type (contact, company, or deal), the record’s ID, and the property values HubSpot passes along — name, email, company, domain, job title, location fields, and any custom properties you’ve mapped through the workflow’s “additional context” options. Your trigger’s instructions run against that data.Requirements
- Your org needs an active HubSpot integration. If it disconnects, the workflow action stops running (you’ll see a “no CRM integration connected” error in HubSpot).
- The trigger you select must be enabled. If you add the Swan action to a workflow without pointing it at a trigger, or point it at a trigger that’s since been deleted, HubSpot blocks that record at the action step instead of silently dropping it.
- HubSpot workflow triggers have no flat per-fire fee — you pay only for the actions the run takes, drawn from your credits pool.