Salesforce · SMS Magic Integration

SMS Magic Salesforce integration, built around your object model

An SMS Magic Salesforce integration decides which records send and receive messages, how Flow triggers them, where replies and delivery status land, and how payment, telephony and marketing systems join in. SMS Magic, now Conversive for Salesforce, runs inside your org; Twopir Consulting designs and builds the integration around it for growing and mid-market companies, and for enterprise teams solving the same problems at scale. Every message traceable from the record that triggered it to the reply that came back.

Messaging Architecture
WHERE MESSAGES START Your Salesforce Org Leads · Contacts · Cases Connected Systems Payments · Phones · Web Flow Triggers Inbound Replies API · Webhooks TWOPIR INTEGRATION LAYER Object Model Message objects Lookups · FLS Automation Converse App Tasks Flow · Action keys Connect REST API · Webhooks Carriers · BYOC NATIVE PACKAGE · DOCUMENTED SURFACES · NO PACKAGE EDITS 2πr WHAT THE BUSINESS GETS Replies on Record Every reply on the right Salesforce record Sends on Events Messages fire from record changes Systems in Sync Delivery status back where people work OUTBOUND · INBOUND · DELIVERY STATUS · OPT-OUT
12+
Years Salesforce delivery
500+
Clients served
250+
Platform deployments
15+
Certified platform partnerships

Trusted by 500+ organizations, including law firms and professional-services teams that run client operations on Salesforce with Twopir Consulting.

Bernstein Liebhard LLP
Sterling Law Offices, S.C.
LegalZoom
Social Justice Collaborative
Mitratech
Platform9

Integration Surface We Cover

  • Salesforce Partner
  • Sales Cloud
  • Service Cloud
  • Experience Cloud
  • Salesforce Flow
  • Omni-Channel
  • REST API & Webhooks
Case Study · US Law Firm

Payment reminders that collect in days, not weeks

A US law firm was chasing unpaid invoices by email, and payment links were made outside Salesforce. Twopir Consulting connected SMS Magic to the firm's Contact, Matter and Invoice records, generated pre-filled LawPay / AffinPay payment links inside Salesforce, and let Flow run the reminder sequence. Every figure below comes from that one 2024 engagement and is scoped to its payment workflow.

3×

Faster payments: average collection time fell from 14 days to under 5 days once SMS reminders replaced email follow-up

80%

Less manual payment follow-up work, with Flow running the whole reminder sequence instead of staff

40%

Higher payment response rate for SMS payment links than for the firm's generic email reminders

Zero

Manual data entry in the payment workflow: links fill from Salesforce fields, with no copy-paste

100%

Of SMS activity tracked in Salesforce in real time: sends, delivery status, link clicks and payments

<5 sec

From payment link to receipt for the firm's clients, with no portal login and no phone call

How the integration was wired, from the published case study. The firm is not named. More on our legal work: Salesforce for law firms.
LayerWhat we built
Object connectionSMS Magic configured natively on the Contact, Matter and Invoice objects. Client name, matter number, amount due and due date mapped into messages, and client replies captured back in Salesforce.
Payment APIThe firm's LawPay / AffinPay gateway generating a unique payment URL per client, pre-filled with the invoice amount, client ID and matter reference, with expiry controls.
Flow triggerSalesforce Flows on invoice created and invoice overdue: initial notice, 3-day reminder, 7-day follow-up, final notice. Staff can also send from any Invoice or Contact record in one click.
Message contentBranded templates built from Salesforce merge fields, with opt-out instructions in every message.
Reporting loopSent time, delivery status and link clicks logged on the record. Dashboards for open balances, SMS delivery rate and payment conversion, and an alert when a link is clicked but payment is not completed.
Definition

SMS Magic integration, defined

An SMS Magic Salesforce integration is the design and build that connects SMS Magic's messaging objects to your Salesforce data, automation and outside systems, so every message is sent from a record, every reply and delivery status comes back to one, and other platforms can send or listen through documented interfaces.

SMS Magic, now Conversive for Salesforce, is a managed package from Screen Magic Mobile Media that runs SMS, MMS, WhatsApp and other messaging channels inside your org. Integration work happens on three surfaces: inside the org (the package objects, the Message Object configuration and Flow), outside it (the vendor's REST API and webhooks), and at the carrier edge (sender IDs, your own numbers or your own carrier). The vendor documents each of them in the SMS Magic knowledge base for Salesforce.

Three parties are involved. Screen Magic Mobile Media builds the package, ships its upgrades and runs its carrier connections. Salesforce owns the platform, Flow and its limits. Twopir Consulting owns the integration: the object mapping, triggers, API connections, tests and the integration map your team keeps. We implement SMS Magic; we do not resell it.

Still deciding channels, consent or what to build? Start with SMS Magic Salesforce consulting. Installing and launching is SMS Magic implementation; templates and keyword flows are SMS Magic customization and configuration; running it afterwards is SMS Magic support and managed services. All of it is summarised in the SMS Magic services overview.

Where Integrations Break

Six integration faults that surface after launch

None of these shows up on the first test message. They appear weeks later, when volume, a second object or an outside system arrives. Each one is an integration decision, not a messaging one.

Replies with no record to land on

SMS Magic ties messages and conversations to records through lookup fields it creates when an object is added as a Message Object. Text from an object nobody configured, and the conversation never reaches the record your team works from.

Lead conversion splits the thread

Message history starts on the Lead. The package documents a setting that moves incoming and outgoing related lists on conversion; if nobody checks it, the new Contact can start with an empty history while the real conversation stays behind.

Automated sends nobody can trace

When every team triggers messages its own way, there is no single place to see which automation sent what. The first duplicate text to a customer turns into an investigation across Flows, keyword rules and campaigns.

Phone fields the configuration never heard of

An object can carry up to seven mobile phone fields, and bulk sends use the ones declared in its Message Object configuration. Numbers loaded into an undeclared field are invisible to messaging, however clean the data is.

Outside systems that never hear back

A portal or back-office tool that sends through the REST API but never registers for delivery-report and incoming-message webhooks cannot see failures or replies. A firewall that does not allow the vendor's webhook address blocks them too.

Opt-out kept in two places

SMS Magic reads opt-out from the record: a documented field on Lead and Contact, and a configured field on custom objects. A marketing platform or outside sender keeping its own list drifts from it, and someone who opted out gets the next send.

Messaging Architecture

The objects a message touches on its way through

SMS Magic keeps messaging in its own custom objects, under the smagicinteract namespace, and links them to your records. This is the map we design against. The names are the ones in the vendor's documented object appendix, which was written for an earlier release than the package now on AppExchange, so we confirm every API name against your installed version before anything is built on it.

Source: SMS Magic knowledge base, "Objects and Field Names" and "Permission Details". Documented package objects, not a guarantee of current API names.
Documented objectRole in the message flowWhat integration work touches
SMS History smsMagic__cThe outbound message record, carrying delivery fields such as delivery status and the delivery error message.The delivery-status loop back to the record owner, and every report on what was sent.
Incoming SMS Incoming_SMS__cEach inbound message.Matching the sender to the right record and deciding who is notified: nobody, the assigned user or the last sender.
Conversation Conversation__cThe thread, with documented lookups to Contact, Lead, Account, Case and Opportunity.Which record owns a thread, and the extra lookups added when a custom object becomes a Message Object.
Converse App, Action and Task Converse_App_Task__cThe container for planned messaging, its message steps (each with a read-only automation key) and the record for each send.The hook Salesforce Flow uses: a Converse App Task record carrying the action key starts the message.
Message Object configuration Message_Object_Config__cDeclares which objects can send and receive, with their name field and opt-out field.Adding custom objects. It generates the Send SMS, bulk send and conversation pages, and the lookup fields.
Sender IDs SMS_SenderId__cThe numbers and names messages send from, mapped to users or profiles.Channel match: phone fields and sender IDs must belong to the same channel, or sends fail.
Opt-out fields SMSOptOut__cThe record-level opt-out on Lead and Contact; custom objects declare their own in the configuration.Keeping outside senders and marketing platforms on the same value instead of a copy.
Error log Error_Log__cPackage errors, with the class, line and status code.The first place an integration failure shows up, so someone has to own it.

Lookups matter for security as much as for data. Adding a Message Object creates lookup fields to it on SMS History, Converse App Task and Conversation, and the vendor's guide is explicit that profiles need field-level access to them. We extend the same check to the integration users your outside systems run as.

Automation

From a record change to a delivered message

SMS Magic documents one pattern for automation, and it is worth keeping: a message flow lives in a Converse App, each message in it carries a unique action key, and Salesforce Flow starts it by creating a Converse App Task record with that key. We build on this pattern rather than around it.

Step 01

Define the message flow

In a Converse App, the message flow gets its type, sender ID, template and a trigger set to Flow. Each message in it receives its own action key.

Lives inConverse App and its message actions

Step 02

Decide on the record

A record-triggered Flow on your object, such as an invoice going overdue or a case changing status, decides when a message is due and which record it is about.

Lives inSalesforce Flow on your object

Step 03

Create the Converse App Task

Flow's Create Records element writes a Converse App Task carrying the action key and the record reference. The package takes it from there and sends.

Lives inConverse App Task records

Step 04

Close the loop on the record

The send is stored as SMS History on the record. Replies arrive as incoming messages and conversations, and keyword-based automation can update the record from what the customer replied.

Lives inSMS History, Incoming SMS, Conversation

Automation flows default to not sending to opted-out members. Older vendor guides show Process Builder as the trigger; Salesforce has retired it, so new triggers belong in Flow. We build on the documented Converse App Task pattern and never on undocumented package internals, because the managed package upgrades itself and anything resting on internals can break with the next release.

APIs & Webhooks

When outside systems send or listen

Not every message starts in Salesforce. A payment portal, a booking tool or a back-office system can send through the SMS Magic REST API and receive delivery reports and replies by webhook. The vendor's published API reference documents these calls, authenticated with your account's API key in the request header.

Host: api.sms-magic.com. Source: the vendor's published API reference, which dates from 2017; we confirm current behaviour with the vendor before an external integration is designed on it.
CallWhat it does
Validate key GET /v1/api_key/validateConfirms the API key is valid before anything else runs.
Send /v1/sms/sendSends one message by GET or POST: text, sender ID and mobile number, with optional MMS media URLs.
Send bulk POST /v1/sms/send/bulkSends a list of messages in one call.
Status POST /v1/sms/statusReturns the status of a list of message IDs, the fallback when a webhook is missed.
Credits POST /api/v2/unified/getCreditsReturns the SMS and MMS credits left on the account.
Webhooks (push)Delivery reports and incoming messages pushed to a URL you register.
Connected Systems

The platforms SMS Magic is documented to work with

The vendor documents integrations with these platforms. For each one the design question is the same: which system triggers the message, which one keeps the conversation, and what flows back to Salesforce.

SMS Magic + Marketing Cloud

Journey Builder can use SMS Magic templates inside journeys. We settle which platform owns send history and opt-out when one contact is in both. Native Marketing Cloud SMS and WhatsApp is a separate path.

SMS Magic + Account Engagement or Marketo

Account Engagement (Pardot) sends through Converse App Tasks and message flows, and the vendor lists a Marketo integration. Marketing automation decides when; the message still lands on the Salesforce record.

SMS Magic + Omni-Channel

Incoming messages routed in real time through Salesforce Omni-Channel queues, service channels and routing configurations, so texts join the same Service Cloud work queue as cases.

SMS Magic + Aircall, 8x8 or Dialpad

Documented telephony integrations for teams that call and text the same customers. We decide which system holds the conversation record, so agents see calls and texts on one Salesforce customer.

SMS Magic + Litify

For law firms running Litify on Salesforce, a documented integration. The work is mapping messages to the intake and matter records the firm runs on, not to standalone contacts.

SMS Magic + Experience Cloud

Converse Desk runs in an Experience Cloud site as a Conversations View component. It needs a remote site setting, a cloned conversation-user permission set with API Enabled, sender ID visibility and sharing rules.

SMS Magic + payment gateways

Not on the vendor's list, but proven in our own build: Flow paired SMS Magic with LawPay / AffinPay, so each reminder carried a pre-filled payment link generated inside Salesforce and clicks came back to the invoice.

SMS Magic + your own carrier

The AppExchange listing names bring-your-own-number for landlines and bring-your-own-carrier for providers such as Twilio, Nexmo and RingCentral, for teams with existing numbers or carrier contracts. Building on Twilio directly is a different architecture.

Technical Considerations

What we check before anything is connected

These are the checks we run in discovery, with your admin and developers in the room. Each one is cheap to settle on paper and expensive to find in production.

ConsiderationWhat we checkWhat breaks when it is skipped
Installed versionThe object and field API names in your org against the vendor's documented model, which describes an earlier release.Flows, Apex or outside systems pointing at a name that has moved.
Message Objects in scopeEvery object that sends or receives, its phone fields (up to seven), its name field and its opt-out field.Replies and bulk sends that ignore the object your team actually works in.
Field-level accessAccess to the lookups SMS Magic adds on SMS History, Converse App Task and Conversation, and the Visualforce pages used to send, for each profile and integration user.Sends that fail for one profile, or conversations an integration user cannot read.
Channel and sender matchPhone fields and sender IDs on the same channel, and WhatsApp automation limited to registered templates.Messages that fail on a channel mismatch, found by customers rather than tests.
Lead conversionHow message history follows a lead into the contact and account it converts to.A new customer whose conversation stays behind on the converted lead.
Automation inventoryEvery Flow, message flow and campaign touching messaging, before a Message Object configuration is changed. The vendor warns that deleting one affects delivery across the app.One configuration change that stops messages across the org.
External endpointsAPI key custody, webhook URLs, the firewall allowlist, and who owns retries and errors.A portal that sends and never learns a message failed.
Integration Patterns

Six patterns, traced from trigger to reply

The first pattern is in production for the law firm above. The other five are the integration shapes we design most often on the documented objects and connections. They describe architecture, not measured client results.

Invoice reminders with payment links

In production for a US law firm: reminders that carry a link to pay, sent on a schedule nobody has to run.

Trigger
Invoice created or overdue, in Flow
Records
Contact, Matter and Invoice
Back to Salesforce
Delivery status, link clicks, payments

Case updates with threaded replies

Status changes texted to the customer, with the reply arriving on the case rather than in someone's inbox.

Trigger
Case status change, in Flow
Records
Case, through the conversation's case lookup
Back to Salesforce
Replies routed by Omni-Channel

Replies that update the record

A keyword in the customer's reply changes a field, so a confirmation or a choice does not wait for someone to type it in.

Trigger
Keyword in an inbound message
Records
Lead or Contact, kept across conversion
Back to Salesforce
The updated field and the conversation

Sends from a system outside Salesforce

A portal or back-office tool sends through the REST API and still leaves a trace on the customer in Salesforce.

Trigger
An event in the outside system
Records
The matched Salesforce contact
Back to Salesforce
Status and replies by webhook

Campaign sends that hand over to a person

Marketing automation starts the message; when the customer answers, a person picks up the conversation.

Trigger
Journey Builder or Account Engagement
Records
Lead or Contact
Back to Salesforce
Replies into Converse Desk

Client portal conversations

Customers and partners message from an Experience Cloud site, and staff answer from the same Salesforce records.

Trigger
A message from a portal user
Records
Account and Contact behind the portal user
Back to Salesforce
Conversations under your sharing rules
Recommended Approach

How we take an integration from map to handover

The package installs quickly; the integration is the project. We work in this order, in a sandbox first, and every step leaves something your team keeps.

Step 01

Map the message flows

Every message the business needs: what triggers it, which record it is about, which channel it uses and what has to come back.

You keepMessage-flow inventory

Step 02

Confirm the object model

Your installed version, Message Objects, phone fields, lookups and field access, checked against the documented model.

You keepObject and permission map

Step 03

Build the in-org triggers

Message flows with action keys, record-triggered Flows that create Converse App Tasks, and keyword updates from replies.

You keepFlows and message flows in sandbox

Step 04

Connect the outside systems

REST API calls, webhook endpoints, connected platforms and carrier choices, with keys stored and allowlists in place.

You keepEndpoint and credential register

Step 05

Prove every direction

Outbound, inbound, delivery status, opt-out and failure paths, tested per channel and per object before production.

You keepPassed integration test matrix

Step 06

Hand over the integration map

A diagram and runbook of every trigger, object and endpoint, for the admins and developers who will own it.

You keepIntegration map and runbook

Why Twopir

Integration work that survives the next upgrade

SMS Magic upgrades itself as a managed package. An integration has to keep working through those upgrades, through new objects and through the next system that wants to send a message.

We start from your data model

Invoices, matters, cases or custom objects: messaging follows the records your business runs on, so conversations land where your teams already work.

We build on documented surfaces only

Converse App Tasks, the Message Object configuration, the REST API and webhooks. Never edits to the managed package, so its automatic upgrades keep arriving safely.

We have connected it to money

Our law-firm build tied SMS Magic, Flow and a payment API together in production. The results are at the top of this page, each with its scope.

We test every direction, not only the send

Inbound replies, delivery status, opt-out and failure paths are in the test matrix, because that is where integrations fail after launch.

Common Questions

SMS Magic integration questions, answered plainly

It connects SMS Magic's messaging objects to the Salesforce records your teams work from, to Salesforce Flow for automated sends, and to systems outside Salesforce through the vendor's REST API and webhooks. It also covers the carrier edge: sender IDs, your own numbers or your own carrier. The aim is that every message is sent from a record and every reply and delivery status returns to one.

A Converse App Task is the SMS Magic record for one planned send. Each message in a Converse App message flow has a unique action key, and the vendor's documented automation pattern is a record-triggered Flow that creates a Converse App Task record carrying that key. The package picks up the task and sends the message. We build automation on this documented pattern rather than on package internals, so it keeps working through managed-package upgrades.

Yes. Standard and custom objects can both be added as Message Objects, with up to seven mobile phone fields on one object. Adding one generates the pages used for Send SMS, bulk send and the conversation view, and creates lookup fields to the object on SMS History, Converse App Task and Conversation. Profiles and integration users then need field-level access to those lookups.

Yes. The vendor publishes a REST API at api.sms-magic.com, authenticated with an account API key in the request header. It documents calls to validate the key, send one message, send in bulk, check the status of sent messages and read remaining credits, plus webhooks that push delivery reports and incoming messages to a URL you register. The published reference dates from 2017, so we confirm current behaviour with the vendor before designing an external integration on it.

Outbound messages are stored as SMS History records with delivery fields such as delivery status and error message. Inbound messages arrive as Incoming SMS records and are grouped into Conversation records, which carry lookups to Contact, Lead, Account, Case and Opportunity, and to any custom object configured for messaging. Who is notified of a reply is set per sender ID.

The vendor's AppExchange listing names bring-your-own-number for landlines and bring-your-own-carrier for providers such as Twilio, Nexmo and RingCentral, alongside long codes, short codes and toll-free numbers. We map sender IDs to those numbers and check that each phone field and sender ID belong to the same channel, because a mismatch makes sends fail.

They are the names in the vendor's documented object appendix, which was written for an earlier release than the package now listed on AppExchange. They are the right map to design against, but we confirm every object and field API name against the version installed in your org before any Flow, Apex or outside system is built on it.

Next Step

Show us the trigger, we will map the path

A first conversation covers the records you message from, the systems that need to send or listen, and the channels and carrier you use: enough to sketch the integration map and say what it would take to build. No obligation to proceed.

Talk to a Salesforce architect who integrates SMS Magic