Declare named bindings
Call the provider’s account helper at module scope with a stable binding name, then pass each reference to the trigger or action that should use it:automations/route-support-email.automation.ts
support and operations identify project deployment bindings, not provider account IDs. The account helpers keep the service type attached to each reference, so a Google binding cannot accidentally be passed to an action that requires another service.
Connect each account
Deploy the project:Reuse bindings consistently
Use the same binding name wherever work should use the same provider identity. For example, Gmail and Google Sheets share the Google service, sogoogleAccount("operations") identifies the same Google binding across both product subpaths.
Omitting account selects the default binding. You can also pass a binding string directly to a single-service action, but a typed account reference is clearer when several calls share one identity.
Trigger account selection must be static because Automate.ax configures event
sources during deployment. Actions resolve their selected account when they
execute.