Connecting an account
A connection is an account you have authorised, such as your GitHub login or a Slack workspace. You make one without leaving what you are doing: the workflow builder has a Connect dialog when you add an integration step, and the Activate dialog for an integration automation asks which connection it should listen through. Depending on the integration you either sign in through the service’s own consent screen (GitHub, Gmail, Slack) or paste credentials (Twilio’s Account SID and Auth Token, or an API key for the HTTP integration). Reliant checks the connection works before saving it and labels it with the account’s name, such as the Slack workspace or Gmail address. You can keep several connections to one integration, for example two Slack workspaces. A step names the one it wants withconnection:; leave it out to use your default for that integration. An integration trigger only receives events that arrive through the connection it was activated with.
Using an integration in a workflow
An action is a step of typeaction. uses: names the integration, the action and a version, and with: holds its parameters:
nodes.<id>.<field>. To start a run from an event, declare an integration trigger. Its events are the integration’s event names, and match narrows by the attributes each integration lists:
trigger.payload, with the provider’s own payload under trigger.payload.data. Treat it as untrusted: it comes from an outside sender. See Automations for filters, inputs and prompts.
Agents can use them too
Actions are also offered to agents as tools. An agent can look up what exists withsearch_integrations and read an action’s or trigger’s exact parameters with get_integration_schema, which also prints a ready-to-paste triggers: entry. Load the workflow tools with load_tool (tag:workflow) in a chat, or ask the workflow_builder preset to do it for you. See Improve Reliant itself.