Skip to main content
Use the Orb Flow Actions integration to automate your provisioning and quote-to-cash workflows. This guide includes installation, configuration, and common use cases you can power with the integration. You can also review this video to see an example set-up and workflow configuration.

How it works

Orb’s Flow Actions integration automates provisioning from your Salesforce instance to your Orb account based on custom triggers and flows built into the SFDC flow-builder. The integration is installed via a Salesforce managed package and includes endpoints available within Orb’s API packaged as Apex actions. Each API endpoint is fully supported within the Apex action so that you can uniquely power your company’s workflows. Those actions can be triggered manually or upon standard SFDC triggers (e.g. “Opportunity moved to closed-won”). The Apex actions included have hybrid APIs that work directly in Flow Builder, but also work well when composed together in code. This is done by providing Apex action classes that are Flow Builder-compatible, but have a “raw JSON” input option when the builder UI is insufficient or cumbersome.

Accessing the managed package

If the Salesforce integration is included in your plan, you can access the links to download the managed package within the Orb web application. Note: Only Orb Admins have access to the Salesforce links. If you’re not an Orb admin, reach out to the admin at your organization for support accessing the package links. To access the links:
  1. Open the Orb web app (app.withorb.com)
  2. Navigate to settings
  3. Select the Integrations tab
  4. Scroll to the Salesforce section
You’ll see a link to a sandbox managed package, recommended for syncing your SFDC sandbox with Orb’s test mode for testing the integration. And a production package, recommended for syncing your SFDC production instance with Orb live mode. Installation of the package should be done by a Salesforce Admin using the workflow below.

Installation

Orb’s Salesforce application is distributed as a Salesforce Managed Package. Installation of the package should be done by a Salesforce Admin.
  1. Navigate to the installation link provided, and click Install for Admins Only. Install salesforce
  2. Once the package is installed, navigate to the App Launcher and search for the Orb app. Configuration salesforce

Configuration

On the configuration page for the Orb application, you’ll be asked to provide an API key. This is an Orb API Key that is used to make requests via Orb’s SFDC package to the Orb API. While any valid API Key for your account can be used, we recommend provisioning a specific Salesforce API key for this purpose and identifying it appropriately. To provision an Orb API key, visit the API Keys page in the Developers section of the Orb dashboard. SFDC configuration

Use Cases

Setting up your first flow

High-level, the steps to automate creating a subscription and customer from an Opportunity are:
  1. Create a new record triggered Flow. Make sure to select the Include a Run Asynchronously path... checkbox at the bottom when creating the Flow. This allows you to use the Orb actions.
  2. Configure the flow to run when an Opportunity object is transitioned to the Closed/Won stage.
  3. Under the Run Asynchronously path, add an Action and search for the Create Orb Customer action
Create customer action salesforce
  1. Fill in appropriate fields from the opportunity, account, and other built in or custom fields.
    • You can also create an Orb object by assigning a variable, to pass in more complex fields. For example, to create an Address variable, create an Assignment with a data type of Apex-Defined. Search for the withorb__OrbAddressInput Apex class, and fill in fields as needed.
    • You can use this variable as input to the Create Orb Customer action.
  2. Next, add the Create Orb Subscription action. Similar to customer, fill in the appropriate fields.
    • To support custom pricing per customer, assign a variable of type withorb__OrbPriceOverride and fill in appropriate fields. This data is normally stored on the Opportunity Line Item.
  3. Save and activate the Flow. To test it, transition an opportunity to Closed/Won.
Flow salesforce For a detailed walkthrough, we recommend watching the video.