See llms.txt for all machine-readable content.

Salesforce and Twilio integration

Save yourself the work of writing custom integrations for Salesforce and Twilio and use n8n instead. Build adaptable and scalable Sales, Communication, workflows that work with your technology stack. All within a building experience you will love.

How to connect Salesforce and Twilio

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Salesforce and Twilio integration: Create a new workflow and add the first step

Salesforce lead capture with GPT-4 personalized email & SMS follow-up

How It Works This workflow transforms n8n into a smart Web Lead Form alternative to Salesforce's traditional Web-to-Lead, capturing leads, creating Salesforce records, and sending AI-personalized responses via email or SMS. Capture Submission: User submits form data (name, email, phone, description, preference) via n8n's hosted form. Create Lead: Maps data to a new Salesforce Lead. Personalize Message: Uses OpenAI to generate a tailored welcome based on description and preference (detailed for email, concise for SMS). Route Outreach: Branches to send via Twilio SMS or SMTP email depending on preference. Set Up Steps Setup takes about 15-30 minutes if you have credentials ready. Focus on connecting services; detailed configs are in workflow sticky notes. Duplicate this template in n8n. Add your Salesforce, OpenAI, Twilio, and SMTP credentials (no hardcoding—use n8n's credential manager). Customize form fields if needed and test with sample data. Activate and share the form URL on your site. n8n Web to Lead Form.json

Build your own Salesforce and Twilio integration

Create custom Salesforce and Twilio workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Salesforce supported actions

Twilio supported actions

Salesforce and Twilio integration details

Salesforce

Salesforce is one of the best cloud-based CRM (Customer Relationship Management) platform. It is an integrated CRM that provides a single shared view of each customer for all the departments within an organization, such as Marketing, Sales, Commerce, and Service.

Twilio

Twilio is a Customer Engagement Platform that helps you engage customers, personalize your relationship with them, and make them feel privileged. Customers prefer Twilio because it empowers them with personalized campaigns, ease of use, and make their customers happy.

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about Salesforce integrations

Need help setting up your Salesforce and Twilio integration?

Discover our latest community's recommendations and join the discussions about Salesforce and Twilio integration.

  • trijste

    Help getting the MCP trigger to pass a variable into an http request tool

    trijste

    I’m trying to build an MCP server that has access to my Salesforce org, but only at the schema and describe object level, ideally to provide more information for building out SOQL queries using custom fields from custom …

    Open topic
  • DV

    Salesforce platform events capture - to trigger N8n flow

    DV

    I could not find node of trigger type, which will start workflow when “platform event is publishjed from salesforce”. I am looking for support in n8n to listen to platform event as soon as published by SalesForce.

    Open topic
  • Graeme Smith

    How to connect credentials to Salesforce Custom Domain?

    Graeme Smith

    Describe the problem/error/question Unable to create credentials (oauth) for salesforce sandbox with custom domain What is the error message (if any)? error=redirect_uri_mismatch redirect_url_must_match_configuration I…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Salesforce with Twilio

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window