Skip to Content
trumpetdocs

Salesforce Flow called

Runs when a Salesforce Flow calls this workflow's run endpoint with an opportunity.

Beta — this capability may change before general availability.

Purpose

Run opportunity automation from a Salesforce-admin-built Flow that calls the workflow endpoint.

Run requires

  • active workflow with enrollment configured
  • authorized brand API key and workflow endpoint
  • Salesforce Flow built by a Salesforce admin that calls the workflow endpoint

Next recommended steps

  • Find a Pod — When updating an existing opportunity-linked Pod.
  • Branch — When only certain current stage or amount values should qualify.

Conditions

  • Default: Use validated opportunity fields directly without repeated existence conditions.
  • Already handled: The payload requires opportunity ID, name and stage. The externally configured Salesforce Flow owns its entry criteria; omitted amount/account become null.
  • Use a condition when: The user requests stage/amount routing not already enforced by the configured Salesforce Flow.
  • Failure behavior: Invalid required payloads are rejected before a run starts; missing required downstream data fails its consumer. Create Pod accepts null amount.

Guidance

  • Opportunity ID, name, and stage are validated as non-empty before dispatch; do not add existence guards for them. A stage-value condition is needed only for the requested business routing.
  • A Salesforce admin must build a Salesforce Flow that calls the workflow run endpoint with a brand API key. This trigger is not a connected integration; tell the admin a Flow must be built.
  • The Flow supplies the run request body. Omitted amount and account_name become null; consumers validate required values. Combine nullable amount handling with any requested numeric business rule.
  • Map opportunity_id to a Pod step crm_id input; there is no crm_id output on this trigger.