How to connect Mailhook and Salesforce
Create a New Scenario to Connect Mailhook and Salesforce
In the workspace, click the “Create New Scenario” button.

Add the First Step
Add the first node – a trigger that will initiate the scenario when it receives the required event. Triggers can be scheduled, called by a Mailhook, triggered by another scenario, or executed manually (for testing purposes). In most cases, Mailhook or Salesforce will be your first step. To do this, click "Choose an app," find Mailhook or Salesforce, and select the appropriate trigger to start the scenario.

Add the Mailhook Node
Select the Mailhook node from the app selection panel on the right.

Mailhook
Configure the Mailhook
Click on the Mailhook node to configure it. You can modify the Mailhook URL and choose between DEV and PROD versions. You can also copy it for use in further automations.
Add the Salesforce Node
Next, click the plus (+) icon on the Mailhook node, select Salesforce from the list of available apps, and choose the action you need from the list of nodes within Salesforce.

Mailhook
⚙

Salesforce

Authenticate Salesforce
Now, click the Salesforce node and select the connection option. This can be an OAuth2 connection or an API key, which you can obtain in your Salesforce settings. Authentication allows you to use Salesforce through Latenode.
Configure the Mailhook and Salesforce Nodes
Next, configure the nodes by filling in the required parameters according to your logic. Fields marked with a red asterisk (*) are mandatory.
Set Up the Mailhook and Salesforce Integration
Use various Latenode nodes to transform data and enhance your integration:
- Branching: Create multiple branches within the scenario to handle complex logic.
- Merging: Combine different node branches into one, passing data through it.
- Plug n Play Nodes: Use nodes that don’t require account credentials.
- Ask AI: Use the GPT-powered option to add AI capabilities to any node.
- Wait: Set waiting times, either for intervals or until specific dates.
- Sub-scenarios (Nodules): Create sub-scenarios that are encapsulated in a single node.
- Iteration: Process arrays of data when needed.
- Code: Write custom code or ask our AI assistant to do it for you.

JavaScript
⚙
AI Anthropic Claude 3
⚙

Salesforce
Trigger on Webhook
⚙
Mailhook
⚙
⚙
Iterator
⚙
Webhook response

Save and Activate the Scenario
After configuring Mailhook, Salesforce, and any additional nodes, don’t forget to save the scenario and click "Deploy." Activating the scenario ensures it will run automatically whenever the trigger node receives input or a condition is met. By default, all newly created scenarios are deactivated.
Test the Scenario
Run the scenario by clicking “Run once” and triggering an event to check if the Mailhook and Salesforce integration works as expected. Depending on your setup, data should flow between Mailhook and Salesforce (or vice versa). Easily troubleshoot the scenario by reviewing the execution history to identify and fix any issues.
Most powerful ways to connect Mailhook and Salesforce
Mailhook + Salesforce + Slack: When a new email is received by Mailhook, create a corresponding lead in Salesforce. Then, send a notification to a designated Slack channel to alert the sales team about the new lead.
Salesforce + Mailhook + Google Sheets: When a lead's status is updated in Salesforce, send a confirmation email via Mailhook to the lead. Simultaneously, log the updated lead data to a Google Sheet for tracking and reporting.
Mailhook and Salesforce integration alternatives
About Mailhook
Use Mailhook in Latenode to instantly capture incoming emails and parse their contents into usable data. Trigger workflows on specific email events, like form submissions or order confirmations. Route parsed data to other apps, databases, or AI models for advanced processing. Automate email handling without code and scale as needed.
Similar apps
Related categories

About Salesforce
Sync Salesforce data with other apps using Latenode. Automate lead qualification and task creation based on CRM events. No more manual data entry: build workflows that trigger actions across your stack. Use Latenode's visual editor and flexible scripting to create custom logic and scale automation without code limits.
Similar apps
Related categories
See how Latenode works
FAQ Mailhook and Salesforce
How can I connect my Mailhook account to Salesforce using Latenode?
To connect your Mailhook account to Salesforce on Latenode, follow these steps:
- Sign in to your Latenode account.
- Navigate to the integrations section.
- Select Mailhook and click on "Connect".
- Authenticate your Mailhook and Salesforce accounts by providing the necessary permissions.
- Once connected, you can create workflows using both apps.
Can I automatically create Salesforce leads from Mailhook email parsing?
Yes, you can! Latenode allows parsing email data using no-code blocks or AI, then automatically creating leads in Salesforce. This saves time and ensures timely follow-up on all qualified leads.
What types of tasks can I perform by integrating Mailhook with Salesforce?
Integrating Mailhook with Salesforce allows you to perform various tasks, including:
- Creating new Salesforce contacts from parsed Mailhook email data.
- Updating existing Salesforce records with information from Mailhook.
- Triggering Salesforce workflows based on Mailhook email events.
- Logging email interactions in Salesforce activity history.
- Sending personalized email campaigns based on Salesforce data.
HowdoIhandleemailattachmentsreceivedthroughMailhookinLatenode?
Latenode provides built-in file parsing and storage capabilities, allowing you to easily process and save attachments from Mailhook emails within your workflows.
Are there any limitations to the Mailhook and Salesforce integration on Latenode?
While the integration is powerful, there are certain limitations to be aware of:
- The number of API calls allowed depends on your Mailhook and Salesforce plans.
- Complex data transformations may require JavaScript or AI assistance.
- Real-time data synchronization depends on webhook reliability and API responsiveness.