← All integrations
EWire + Salesforce

Log WhatsApp enquiries as tasks on the right contact or lead.

Built in

A customer asks for pricing on WhatsApp. EWire finds the contact by phone number and logs a follow-up task with the message. No match? It creates a lead so nothing is lost.

How it works

What triggers it
A rule such as: from a customer, has the keywords “pricing” or “quote”.
What is forwarded
The message, the sender’s name and number, the conversation, the time and the EWire event ID, written into the task description.
How it connects
EWire signs in to your org with an external client app (or connected app) using the OAuth client credentials flow, as the Run As user you choose.
What happens there
Searches phone fields for a matching contact, then an open lead. Logs a Task (Not Started, due tomorrow by default) on it. Creates a lead only when nothing matches.
What confirms success
Delivered with a link straight to the new task in Salesforce.
When delivery fails
If Salesforce is down or slows us down, EWire retries after 10 s, 30 s, 2, 10 and 30 minutes, then 2 hours. A rejected key or a missing permission fails right away with Salesforce’s own reason and a link to fix the destination. Every record EWire creates is remembered per event, so retries and replays never create a second one.

Set it up

  1. In Salesforce, create an external client app (Setup › External Client App Manager) with OAuth, the api scope and the client credentials flow enabled, and set its Run As user. Copy the consumer key and secret, and your My Domain address.
  2. In EWire, open Destinations › Add destination › Salesforce, paste it and press Test connection. EWire checks it with Salesforce before saving and stores it encrypted.
  3. Create a rule: from a customer, has the keywords “pricing”, “quote” or “proposal”. Live Check shows which of your recent messages it would have caught.
  4. Turn the rule on. Press Send test on the destination to see a sample record arrive in Salesforce.

Supported actions

  • Find a contact or lead by phone
  • Log a follow-up task with the message
  • Create a lead when nobody matches

Limitations

  • Tasks are owned by the Run As user unless your org reassigns them with a flow.
  • Matching works on the last 10 digits, so store numbers with or without formatting.
  • Built against Salesforce’s published API and tested against a simulated Salesforce server. Connect your account and press Test connection to confirm it with your data.