Set up Salesforce access for project automation workflows

Updated

Who can do this: People with permission to manage Integrations+ integrations in OnRamp, signed in to Salesforce as an admin

To create projects from Salesforce records, OnRamp connects to your Salesforce org and publishes workflows. When you publish one, OnRamp builds the supporting automation inside Salesforce for you. This article covers the connection, publishing, and what you'll find in Salesforce Setup afterward.

Before you begin

  • In OnRamp, you need permission to manage Integrations+ integrations. Without it, you can't select the Salesforce card on Integrations+ to connect it.

Connect Salesforce

  1. Go to Settings > Integrations+.

  2. Select the Salesforce integration. A Connect to Salesforce dialog opens.

  3. Choose your Salesforce environment. The dialog's fields depend on whether OnRamp's own Salesforce connection is turned on for your organization:

    • If it's turned on, under Environment, choose Salesforce Production, Salesforce Sandbox or My Domain. If you choose My Domain, enter your My Domain URL.

    • If it isn't, under Instance auth setting, choose Salesforce Production, Salesforce Sandbox or Salesforce Custom. If you choose Salesforce Custom, enter the Authorize URL, Token URL and Revoke URL.

  4. Select Confirm.

  5. When you're redirected to Salesforce, sign in as the Salesforce admin user you want OnRamp to connect with.

For the full steps and how to manage the connection afterward, see Connect Salesforce to OnRamp. Once connected, the connection's page has Refresh Data for people with permission to refresh CRM data, and Disconnect Integration for people with permission to manage Integrations+ integrations. If you have neither permission, you won't see these buttons.

Publish a workflow

  1. Build the workflow that creates projects from your Salesforce records. Set up a workflow to create projects walks through each part.

  2. In the workflow builder, select Publish.

Publish shows only while you're editing the workflow. For a workflow that's already published, select Edit from v… first. Publish stays turned off until the workflow's steps are complete, and while it has unsaved changes, so save before you publish. It's also turned off if you don't have permission to publish workflows.

What publishing creates in Salesforce

For each published workflow, OnRamp creates two items in your Salesforce org:

  • An auto-launched Flow that watches for records matching the trigger. Its label is the workflow's name, with every character other than a letter, number or period replaced by an underscore. The label is cut off at 80 characters. For example, a workflow named New Customer Onboarding gets a Flow labeled New_Customer_Onboarding.

  • An Outbound Message that the Flow sends to OnRamp. Its name is ONRAMP_ followed by an ID with the dashes removed.

To find the Flow in Salesforce Setup, search for the workflow's name with underscores in place of spaces. To find the Outbound Message, search for ONRAMP_.

OnRamp manages these items for you. When you publish a version with a changed trigger, OnRamp rebuilds the Flow. When you pause or archive the workflow, OnRamp deactivates the Flow, then deletes it along with the Outbound Message. When you resume a paused workflow, OnRamp creates them again.

Important: Don't edit or delete these Flows and Outbound Messages by hand in Salesforce Setup. Make changes in the OnRamp workflow instead.

If you change the Salesforce connection

If you reconnect with a different Salesforce user or org, published triggers can stay linked to the old connection. If a workflow run then fails, see the troubleshooting article Workflow run failed: trigger is linked to a CRM connection that no longer exists.