How to create leads or cases in Salesforce with Flow Builder
Bird
2 Dec 2021
Flow Builder
1 min read

Key Takeaways
Bird’s Flow Builder allows seamless integration with Salesforce, enabling automated lead and case creation across multiple communication channels.
The integration supports WhatsApp, Instagram, Telegram, WeChat, LINE, Messenger, Google Business Chat, Viber, and more.
With Salesforce connectivity, businesses can enrich CRM records, centralize support conversations, and build automated end-to-end funnel logic.
Key use cases include:
Creating Salesforce leads directly from messaging channels
Creating Salesforce cases for support teams
Routing, tagging, and enriching customer data in flows
Integration requires:
A Bird administrator account
A Salesforce org with administrator access
Setup begins by configuring a Salesforce Connected App with OAuth enabled, appropriate scopes, and relaxed permission settings.
Required OAuth scopes include:
Access and manage your data (api)
Web access (web)
Refresh tokens (offline_access)
After creating the Connected App, users must retrieve their Consumer Key and Consumer Secret for Flow Builder credentials.
OAuth tokens are generated through Salesforce using a browser authorization step, followed by retrieving the access and refresh tokens via cURL or Postman.
The refresh token ensures continuous authentication even when access tokens expire.
A common integration error — “REST API is not enabled for this Organization” — can be resolved by enabling API access under a user profile’s administrative permissions.
Once Salesforce credentials are configured, users can import a Flow Builder template to create leads or cases via WhatsApp, Viber, SMS, and other channels.
API endpoints allow Flow Builder to push data into Salesforce objects such as Lead or Case using field mappings defined in Salesforce’s Object Manager.
Users can customize flows to trigger Salesforce actions based on channel behavior, customer replies, tags, or funnel stages.
The flow returns Salesforce record IDs (e.g., Case ID) for follow-up, reporting, or routing.
After configuration, businesses can automatically generate Salesforce entries in real time from any supported Bird-powered channel.
Q&A Highlights
What does the Salesforce integration with Flow Builder allow you to do?
It enables automatic creation of leads and cases in Salesforce from any supported communication channel connected to Bird.
Which channels can push data into Salesforce?
WhatsApp, Instagram, Telegram, WeChat, LINE, Messenger, Google Business Chat, Viber, SMS and more.
What are the main use cases?
Creating Salesforce leads, creating support cases, enriching profiles, and building automated CRM-connected sales funnels.
What Salesforce permissions are required?
Administrator access, along with a Connected App configured with OAuth, API access, and relaxed IP/token restrictions.
Which OAuth scopes must be added?
API access, web access, and refresh_token/offline_access.
What credentials does Bird need to authenticate with Salesforce?
The Connected App’s Consumer Key and Consumer Secret, plus an access token and refresh token.
Why is a refresh token required?
Because Salesforce access tokens expire, and the refresh token is used to obtain new ones automatically.
What causes the error “REST API is not enabled for this Organization”?
API access is disabled in the user’s Salesforce profile. Enabling API Enabled resolves it.
How are Salesforce objects like Lead or Case mapped in Flow Builder?
By referencing field names from Salesforce’s Object Manager (e.g., LastName, Phone, Company).
Can you use WhatsApp to create Salesforce leads?
Yes — WhatsApp can feed structured data into Salesforce Lead fields through Flow Builder.
Can Viber be used to create Salesforce cases?
Yes — Viber messages can trigger case creation with details sent via Salesforce APIs.
Does the flow return Salesforce IDs?
Yes — Salesforce responds with object IDs (e.g., Case ID), which can be stored or used in further automation.
























