Skip to content

How to integrate your HappyFox Workflows account with Salesforce account?

Views
3589
Last updated

The Salesforce integration with HappyFox Workflows lets you create and update Salesforce records — Leads, Contacts, Accounts, Opportunities, Cases, Tasks, and custom objects — directly from your workflow builder. This article explains how to connect your Salesforce account and lists the actions available once it's connected.

Applicable Plans: HappyFox Workflows Enterprise Plan

Triggers

Salesforce does not provide a native trigger in HappyFox Workflows. You cannot start a workflow directly from a Salesforce event using this integration.

Note: To start a HappyFox workflow from an action taken in Salesforce, use Salesforce's own automation tools to trigger an external webhook.

Actions

Action Action Action
Search for a Lead Create a Lead Update a Lead in Salesforce
Search for a Contact Create a Contact Update a Contact
Search for an Account Create an Account in Salesforce Update an Account in Salesforce
Search for an Opportunity Create an Opportunity in Salesforce Update an Opportunity in Salesforce
Search for a Salesforce object (Find One) Create an object in Salesforce Update Salesforce Object
Get Object by Id Add Case Feed Update Search for Salesforce objects (Find Many)
Log a Call Add New Task  

Prerequisites

 

Permissions

Use Cases

Setting Up the Integration

Step 1: Create a Connected App in Salesforce

  1. Log in to your Salesforce account and create a new Connected App. 
  2. Enable OAuth settings for the Connected App and set the callback URL to https://workflows.happyfox.com/integrations/salesforce/oauth-callback/.

The Callback URL field in HappyFox Workflows, with a Copy URL button to copy it into Salesforce.

  1. Grant the Connected App the appropriate OAuth scopes as shown below. 
  2. Save the Connected App in Salesforce, then open it to find its Consumer Key and Consumer Secret.

Note: Salesforce can take several minutes to activate a new Connected App after you save it. If the connection fails immediately after setup, wait a few minutes and try again.

Step 2: Connect Salesforce to HappyFox Workflows

  1. Navigate to Apps > Salesforce in HappyFox Workflows.
  2. Enter the Consumer Key and Consumer Secret from your Salesforce Connected App.
  3. Toggle Sandbox Account on if you're connecting a Salesforce sandbox instead of a production org.
  4. Click Save.
  5. Wait for 2-10 mins for the connection to be established. 

The Salesforce account setup screen in HappyFox Workflows, showing the Consumer Key, Consumer Secret, and Sandbox Account fields.

Note: By default, HappyFox Workflows displays the Contact, Account, Lead, and Opportunity objects as default objects. To use other standard or custom Salesforce objects — such as Case or Task — add them under Additional Objects and click Save.

The Select Salesforce Objects screen, showing default objects and additional objects such as User, Task, and Case that can be added to HappyFox Workflow actions.

To disconnect the integration or update your credentials, use the Reset option next to the Save button on the Salesforce account setup screen. 

Frequently Asked Questions

My Salesforce connection is failing even though my Consumer Key and Consumer Secret look correct. This is usually caused by a mismatched callback URL. Confirm the callback URL in your Salesforce Connected App exactly matches https://workflows.happyfox.com/integrations/salesforce/oauth-callback/, with no trailing differences.

A Salesforce action is failing at runtime with a permissions error. This typically means the Connected App's OAuth scopes don't include access to the object or operation the action is trying to perform. Review the permissions granted to the Connected App in Salesforce and adjust the scopes to cover the objects you're using in your workflow.

Your Salesforce integration is now active. 

Tags