Salesforce · SMS Magic Customization

SMS Magic customization & configuration built around your Salesforce process

SMS Magic, now Conversive for Salesforce, ships with templates, message flows, keyword rules, scheduled sends and consent settings. Configuring them well is what makes texting fit your process; customizing with Flow, Apex or Lightning Web Components covers what the settings cannot reach. Twopir Consulting does both, for Salesforce admins, developers, CRM managers and operations teams. Configured where an admin can maintain it, built in code only where it has to be.

Configuration & Build Map
WHAT WE BUILD FROM Your Salesforce Records Leads · Contacts · Cases · Custom Your Business Rules Who · When · Which Template Merge Fields Keywords Consent Rules TWOPIR BUILD LAYER Configure Templates · Flows Keywords · Inbox Customize Salesforce Flow Apex · LWC Govern Opt-in settings An owner per rule SETTINGS FIRST · FLOW NEXT · CODE ONLY WHERE NEEDED 2πr WHAT YOUR TEAMS GET Personal at Scale Record data in every message Replies That Act Keywords update the record Rules That Hold Opt-outs and owners enforced by design TEMPLATES · FLOWS · KEYWORDS · SCHEDULES · INBOX · CONSENT
12+
Years Salesforce delivery
500+
Clients served
250+
Deployments delivered
15+
Platform partnerships

Trusted by 500+ organizations for Salesforce configuration, custom development and messaging work with Twopir Consulting.

Platform9
Sotheby's International Realty
Leverage Companies
Vinci Hair Clinic
Mitratech
Aventria

What We Configure & Build

  • Salesforce Partner
  • Templates & Merge Fields
  • Keyword & Auto-Reply Flows
  • Converse Apps
  • Double Opt-In
  • Salesforce Flow
  • Apex & LWC
Business Problems

SMS Magic is live, but it does not fit the process

An installed package sends messages. Whether those messages carry the right data, trigger at the right moment and do something with the reply depends on how it is configured. These are the six gaps we are asked to close most often.

Generic texts sent from specific records

The record holds the date, the amount and the reference, yet reps type them in by hand or send a message that says none of it. The templates were never built against the objects people actually text from.

Replies that arrive and change nothing

A customer answers YES to confirm, and someone still has to open the record and update the status. Keyword rules that could act on the reply were never set up.

One set-up stretched across every team

Sales, service and operations share one sender ID, one template set and one inbox, so messages go out under the wrong name and replies land with whoever happens to look.

Consent that stays pending

Double opt-in was switched on without the confirmation messages and keyword it depends on, so consent never leaves pending and the people who did opt in cannot be messaged.

Bulk sends planned in a spreadsheet

Reminders and campaigns are exported, cleaned and sent by hand each week, when SMS Magic can run them from a list view, a campaign or a report on a schedule, skipping opted-out records.

A requirement the settings cannot reach

The message depends on three related objects, a branching sequence or a screen your agents need, and the package settings alone cannot express it. Without a clear call, it ends up half-built in both.

Definition

Configure vs customize, defined

SMS Magic configuration sets up the package's own features from its settings: templates and merge fields, message flows, keyword and auto-reply rules, bulk and scheduled sends, inbox set-up and double opt-in. SMS Magic customization builds what those settings cannot reach, in Salesforce Flow, Apex or Lightning Web Components. Configuration is maintained by an admin; customization is owned by a developer.

SMS Magic is a Salesforce-native messaging app, published on AppExchange by Screen Magic Mobile Media, that sends and receives SMS, MMS, WhatsApp and other channels from Salesforce records. SMS Magic provides the features. Twopir Consulting decides which ones your process needs, configures them, and builds the rest. Your teams get messages that carry record data, replies that update records and rules that hold. Product behaviour is documented on the SMS Magic for Salesforce product page.

This page is for teams whose SMS Magic is installed, or about to be, and now has to fit how they work. Not live yet? Start with SMS Magic implementation. Still choosing use cases and channels? See SMS Magic Salesforce consulting. For every SMS Magic service we offer, see the SMS Magic services overview.

The Build Boundary

Where configuration ends and custom build begins

Most SMS Magic requirements can be met in its settings, and the ones that cannot usually need Salesforce Flow before they need code. For each requirement we write down which side of the line it sits on, before anything is built.

Configuration lives in SMS Magic's set-up screens and is maintained by an admin. Customization lives in Salesforce metadata, is version-controlled and is maintained by a developer. Custom Apex needs Enterprise, Unlimited or Force.com edition.
RequirementConfigured in SMS MagicCustomized when
Personalised message contentTemplates on the primary object, with merge fields and related objects linked for extra merge data.Content depends on logic, such as choosing a template by record type, language or region: a Flow selects it.
Sending on a record eventA message flow in a Converse App with its sender ID, template and trigger.The trigger needs conditions across objects or a timed sequence: a record-triggered Flow decides when to send.
Acting on a replyKeyword-based automation and auto-reply flows that answer, or update the record, on a keyword.One reply must update several records or start a process: the keyword rule hands off to a Flow.
Bulk and scheduled sendsSends from list views, Campaigns, reports and Campaign Manager, single or recurring, with opted-out records skipped.Volumes or selection rules outgrow a list view: batch Apex built for governor limits.
ConsentOpt-out fields per object, double opt-in per channel, automation set not to send to opted-out records.Consent differs by brand, product or region: a custom consent model the sends check first.
Where agents workConverse Desk inboxes, the Conversation View component, incoming notification and forwarding rules.A team needs a screen shaped to its own process: a Lightning Web Component on the record page.

Configuration

Maintained by your admin

Wording changes, new templates, a new keyword or a schedule change are admin tasks, done in SMS Magic's own screens and tested in a sandbox.

You receive an inventory of every template, flow, keyword and setting, with its owner and the records it touches.

Customization

Owned by a developer

Flows, Apex and Lightning Web Components are Salesforce metadata. They are version-controlled, covered by tests and released through your deployment process.

You receive the source, the tests and a note on what each piece does, so any developer can pick it up.

SMS Magic Configuration

Six things we configure for your process

Each one is built in a sandbox against your real records, named so your admin can find it, and tested before it reaches a customer's phone.

Template Libraries & Personalization

A named, owned set of templates per team and channel, each built on the object it sends from, so the message carries that record's data.

  • Templates per primary object, with merge fields
  • Related objects linked for extra merge data
  • Rich Media templates with WhatsApp buttons
  • Templates tagged by channel
  • Link shortening and tracking where useful

Keyword & Auto-Reply Flows

Replies that do something: answered instantly, recorded on the record, or used to move it to its next status.

  • Auto-replies on chosen keywords
  • Keyword rules that update the record
  • Confirm, cancel and reschedule patterns
  • Replies on the channel they arrived on
  • Keyword list documented for your admin

Message Flows & Business Rules

Converse Apps that group each process's messages, with the rules that decide who receives what, from which number, and when.

  • One Converse App per process, not per user
  • Sender ID and fallback sender ID per message
  • Message sequence, start and end dates
  • Opted-out records excluded by default
  • Triggered from Salesforce Flow where needed

Bulk & Scheduled Sends

Reminders and campaigns that run from Salesforce on a schedule, instead of from an export someone cleans by hand.

  • Sends from list views, Campaigns and reports
  • Single or recurring schedules
  • Phone fields matched to each object's set-up
  • Opted-out records skipped
  • Processed and delivered counts reviewed

Converse Desk & Inbox Set-Up

Two-way conversations placed where each team works, with every reply going to an owner rather than to whoever looks first.

  • Shared and dedicated inboxes per team
  • Conversation View on record pages
  • Incoming notification rule per sender ID
  • Forwarding to a user or email
  • Experience Cloud conversations where needed

Double Opt-In & Consent Settings

Consent captured the way your policy says, per channel, and held by every automated send.

  • Double opt-in per channel
  • Confirmation sender ID and messages
  • Double opt-in keyword and confirm message
  • Opt-out field mapped per object
  • Consent Details View configured
SMS Magic Customization

When the requirement outgrows the settings

Custom work sits on top of SMS Magic in Salesforce's own tools, so it follows your release process and does not depend on changing the managed package. These are the builds we deliver most.

Record-triggered sequences

A Flow that sends the first message on a record event, then the follow-ups on a timetable, and stops the moment the record changes status.

Conditional template choice

Flow logic that picks the template by record type, language, region or stage, so one process serves several audiences without duplicate flows.

Replies that run a process

A keyword reply that updates more than one record, creates a task for the owner or moves a case, handled by a Flow the keyword rule starts.

No-reply escalation

A scheduled Flow path that checks whether the customer answered and, if not, alerts the owner or queues the next message.

Bulk logic in Apex

Batch Apex for selections and volumes a list view cannot handle, written for governor limits. Needs Enterprise, Unlimited or Force.com edition.

Lightning Web Components

A sending panel or conversation screen shaped to one team's process, placed on the record page where agents already work.

Custom consent models

Consent held per brand, product or region when one opt-out field per object cannot describe it, checked before every automated send.

Reports beyond the defaults

Report types and dashboards that put message activity beside your own business data, alongside the Converse dashboards SMS Magic installs.

Connecting SMS Magic to systems outside Salesforce, its REST API or webhooks is covered on SMS Magic Salesforce integration. Comparing SMS Magic templates with Salesforce's own Quick Text for one-to-one replies? See our note on Quick Text in Salesforce. We recommend the lightest layer that meets the requirement.

Real Use Cases

Six builds, from requirement to working rule

The requests we see most, with what each one takes in configuration, what it takes in custom work, and what changes for the team once it is live.

Appointment Confirmations That Update the Record

A reminder goes out before each appointment, and the customer's answer sets the appointment's status.

Configure
Reminder template with date and time merge fields; YES and NO keyword rules
Customize
A scheduled Flow that sends at the right lead time
Outcome
Confirmed and cancelled slots visible without a call

An Overdue-Invoice Sequence

A notice when the invoice is raised, then timed reminders while it stays unpaid, then a final notice.

Configure
Branded templates with amount, due date and opt-out instructions
Customize
Flows on invoice created and overdue, plus a one-click manual send
Outcome
Follow-up runs itself and stops once the invoice is paid

Instant Reply to a New Enquiry

A new lead gets an answer in seconds, and its owner is told a conversation has started.

Configure
Auto-reply flow, owner notification, sender ID per team
Customize
Template chosen by lead source or region in Flow
Outcome
No enquiry waits for a rep to notice it

Case Updates Answered by Text

Service sends status updates from the case, and customers reply on the same thread.

Configure
Case templates, Conversation View on the case page, shared service inbox
Customize
No-reply escalation to the case owner
Outcome
Replies land on the open case, with an owner

Scheduled Reminders to a Segment

Renewal, enrolment or event reminders sent to a defined group on a recurring schedule.

Configure
Bulk send from a list view or report, recurring schedule, opt-outs skipped
Customize
Batch Apex when the selection outgrows a list view
Outcome
No weekly export; the run is visible in Salesforce

WhatsApp Updates With Buttons

Order or booking updates on WhatsApp, with buttons the customer taps instead of typing.

Configure
Rich Media templates with buttons, tagged for WhatsApp, double opt-in for the channel
Customize
Flow that only sends registered templates outside the 24-hour window
Outcome
One tap answers, on the channel the customer chose

Texting from Marketing Cloud journeys rather than from Sales or Service Cloud records? See Marketing Cloud SMS and WhatsApp. We will tell you in the first call which of these your process needs.

Recommended Approach

How a requirement becomes a tested rule

Every build follows the same six steps, whether it is one template or a full messaging process. Each step ends with something you can review.

Step 01

Requirement Inventory

Every message, trigger, reply and rule your teams need, written as a requirement with the record it starts from and the team that owns it.

You reviewRequirement list by team

Step 02

Boundary Call

Each requirement placed on one side of the line: SMS Magic settings, Salesforce Flow, or Apex and Lightning Web Components, with the reason recorded.

You reviewConfigure-or-build decision per item

Step 03

Template & Rule Design

Template wording, merge fields, keywords, schedules and consent behaviour drafted and agreed with the teams who will send them.

You reviewTemplate and rule catalogue

Step 04

Sandbox Build

Configuration done in SMS Magic's settings and custom pieces built in Salesforce, in a sandbox, against copies of your real records.

You reviewWorking demo per team

Step 05

Record-Level Testing

Each template, keyword, schedule and Flow run against records with full, partial and empty data, as each role, with opted-out records included.

You reviewSigned test log

Step 06

Release & Admin Handover

Custom pieces deployed through your release process, configuration moved across, and your admin walked through what they can now change.

You reviewInventory and admin guide

Technical Considerations

Salesforce rules every build respects

SMS Magic runs inside your org as a managed package, so every template and rule meets your data model, security and release process. These are the constraints we design around for admins and developers.

ConsiderationWhat SMS Magic or Salesforce requiresHow we build for it
Merge-field accessUsers need access to every field a template references.We check field access by role and test each template as each sending role.
Channel matchingPhone fields and sender IDs must belong to the same channel, or sends fail.Each template, flow and bulk send is tied to the right channel's fields and IDs.
WhatsApp 24-hour windowOutside 24 hours from the customer's last message, only registered templates can be sent; automation flows use registered templates.The WhatsApp template library is designed and registered around that rule.
Opt-out behaviourAutomation flows default to not sending to opted-out members.We keep the default on, and custom Flows check the same opt-out field.
Messaging object changesAdding a messaging object creates lookups that need field-level security; removing one requires disabling its automations and campaigns first.Object changes are planned with their permissions and automations, never made ad hoc.
EditionCustom Apex needs Enterprise, Unlimited or Force.com edition.On other editions, custom work stays in Flow.
Managed package upgradesThe package upgrades automatically.Custom work uses the package's documented objects only, and is retested in a sandbox after upgrades.
Customization in Practice

Templates and Flows on a law firm's invoices

For a US law firm in 2024, Twopir configured SMS Magic and built Salesforce Flows to replace email payment reminders with text messages carrying the client's own invoice details and a payment link.

What We Configured & Built

The customization behind it

  • SMS Magic configured on the Contact, Matter and Invoice objects, with record fields mapped into messages
  • Branded templates with merge fields and opt-out instructions
  • Flows on invoice creation and overdue status: initial notice, two timed reminders and a final notice
  • A one-click manual send from the Invoice and Contact records
  • Two-way messaging, so replies are captured back in Salesforce
Why Twopir

Builders who leave you able to change it

A messaging set-up is never finished: wording changes, teams change, rules change. We build it so the next change is an admin task wherever it can be.

Admins and developers on one team

The people who configure SMS Magic and the people who write your Flows and Apex work on the same requirement list, so nothing is built twice in two layers.

Settings before code, by default

Every requirement starts in SMS Magic's settings. Flow comes next, and Apex or Lightning Web Components only when neither can do it, with the reason written down.

Your operations team writes the words

Templates are drafted with the people who send them, against real records, so the message reads the way your business talks, not like a mail merge.

An inventory, not a mystery

Every template, keyword, flow and custom component is listed with its owner and purpose, so the next admin can see what exists before adding to it.

Common Questions

SMS Magic configuration questions, answered plainly

Yes, and that is the point of keeping it as configuration. Templates, message flows, keyword and auto-reply rules, bulk and scheduled sends, inbox settings and double opt-in settings all live in SMS Magic's own set-up screens, so a trained admin can change wording, swap a template or add a keyword without a developer. We hand over a written inventory of every template, flow and rule, who owns it and what it touches. Anything we build in Salesforce Flow, Apex or Lightning Web Components is listed separately, with its own documentation and tests, because changing it is a developer task.

Each SMS Magic template is created against a primary object, and merge fields pull values from that object's records into the message when it is sent, so one template can carry each recipient's own name, date, amount or reference. Related objects can be linked to a messaging object for extra merge data. The sending user needs access to every field a template references, so we check field access by role and test each template against real records, including records where a merged field is empty.

Yes. SMS Magic's keyword-based automation acts on keywords in incoming messages, and SMS Magic documents a keyword reply updating a Salesforce record. A typical build is an appointment or order confirmation where a YES or NO reply sets a status on the record and sends the matching acknowledgement. When the update has to follow conditions across several objects, we move that logic into a Salesforce Flow and keep the keyword rule as the trigger.

Double opt-in is configured per channel. The settings cover the sender ID that sends the confirmation, the opt-in and opt-out confirmation messages, the double opt-in keyword and the message sent once it is received. Consent stays pending until the customer replies with that keyword. For WhatsApp and Facebook the confirmation messages use templates. We configure and test it; deciding what your consent policy has to be is a question for your legal team, and we do not give legal advice.

Yes. SMS Magic sends bulk SMS and MMS from Salesforce list views, Salesforce Campaigns, reports and its Campaign Manager, with a sender ID, a template and an optional schedule, and its scheduling supports single and recurring sends. We configure who can run them, which phone fields each object uses, and how opted-out records are excluded, then test a scheduled run before it reaches real recipients.

SMS Magic offers a Rich Media template category with a channel selection, which supports WhatsApp clickable and call-to-action buttons, and templates can be tagged for SMS, WhatsApp, Facebook or all channels. MMS from Salesforce needs the org set up for MMS. Outside WhatsApp's 24-hour window after a customer's last message, only registered templates can be sent, so we design the WhatsApp library around that rule. URL shortening and tracking can also be configured for links in messages.

When SMS Magic's settings and a Salesforce Flow cannot express it cleanly: logic that has to process large volumes of records in bulk, a custom consent model across several brands, a sending screen or conversation panel built for one team's process, or message content assembled from data the template's objects cannot reach. Custom Apex needs Enterprise, Unlimited or Force.com edition. We recommend the lightest layer that meets the requirement, because every line of code is something your team has to own.

Next Step

Bring requirements, we draw the line

Send us the messages, replies and rules your teams need. A first conversation is enough to say which can be configured in SMS Magic, which need Flow or code, and what the build would take.

Talk to a Salesforce team that configures and builds on SMS Magic