Salesforce Integration Setup Guide(myCRMSIM)
Overview
This guide explains how to install and connect the myCRMSIM Salesforce package, configure the required Salesforce settings, and create an automated Salesforce Flow to send SMS replies using myCRMSIM.
Once the setup is complete, Salesforce will be able to receive inbound SMS events from myCRMSIM and automatically send SMS replies through the myCRMSIM Send SMS action.
- A Salesforce Developer Account
- Access to your myCRMSIM account
- A connected device in myCRMSIM, such as:
- SMS
- iMessage
- RCS
- Twilio
- The correct Location ID for your myCRMSIM subaccount
You must have a Salesforce Developer Account to install the myCRMSIM Salesforce package.
If you do not already have one, create an account from the Salesforce Developer portal before continuing.
- Go to the Salesforce Integration section in myCRMSIM.
- Click Install Package.
- The Salesforce package installation page will open in a new tab.
- Log in to your Salesforce Developer Account.
- Select: Install for All Users
- Wait until the installation is completed successfully.
- Once the package is installed, return to myCRMSIM and click: Mark as Installed
- The setup guide will now open.

- Go back to myCRMSIM.
- Click the Get My Credentials button.
- Copy your own:
- Consumer Key
- Consumer Secret

- Open your Salesforce dashboard.
- Go to: Setup → Auth. Providers
- Find and open: myCRMSIM
- Click Edit.
- Paste your own:
- Consumer Key
- Consumer Secret
- These are the credentials you copied from myCRMSIM.
- Click Save. ✅ The Auth Provider is now configured.

- In Salesforce Setup, go to: Setup → Named Credentials
- Open: myCRMSIM
- Click Edit.
- Click Save without making any changes.
- A login popup will appear.
- Log in with your myCRMSIM account.
- Click Allow to authorize the connection.
- myCRMSIM Me
- myCRMSIM SMS

- Go to Salesforce Setup.
- Navigate to: Setup → Sites
- If Sites are not already enabled, click Register and complete the registration.
- Click New to create a new site.
- Fill in the required site details.
- Click Save.
- After creating the site, open the site settings by clicking on the site label Name.
- Click Public Access Settings.
- Go to: Apex Class Access
- Click Edit.
- Add the following Apex class to the enabled list:
12. Click Save.
✅ Salesforce Site is now created and configured for inbound SMS events.
- Copy your Salesforce Site URL.
https://yourorg.salesforce-sites.com
- In Salesforce, go to:
Developer Console → Debug → Execute Anonymous - Run the following command:
- Replace YOUR_SITE with your actual Salesforce Site URL.
MyCRMSIMService.subscribe('https://yourorg.salesforce-sites.com/services/apexrest/inbound-sms');
- Click Execute.

- Go to Salesforce Setup.
- In Quick Find, search: Flows
- Click New Flow.
- Select: Record-Triggered Flow
- Click Create.

Configure the trigger using the following values:
Field | Value |
| Object | Task |
| Trigger | A record is created |
| Condition Requirements | All Conditions Are Met |
| Field | Subject |
| Operator | Contains |
| Value | Inbound SMS from |
| When to Run | Only when a record is created |
| Optimize For | Actions and Related Records |

- Click the + icon.
- Select Action.
- Search for: Send SMS via myCRMSIM
- Select the action.
- Click New Resource.
- Select Formula.
- Name it: PhoneFromSubject
- Use this formula:
This formula removes the text Inbound SMS from and keeps only the phone number.
Now fill in the Send SMS action fields:
| Input | Value |
| Label | Send Reply SMS |
| Phone Number | {!PhoneFromSubject} |
| Message | {Message.Body} |
| Location ID | {Subaccount.Location.ID} |
You can customize the label and message according to your own use case.

- Click Save.
- Enter the Flow name: myCRMSIM Auto Reply
- Click Activate.

Step 10: Test the Salesforce SMS Automation
After completing the setup, test the automation to confirm that inbound and outbound SMS messages are working correctly between myCRMSIM and Salesforce.

Final Result
- myCRMSIM receives an inbound SMS.
- Salesforce automatically receives the inbound SMS event.
- A new Task is created in Salesforce.
- The Salesforce Flow is triggered.
- Salesforce sends an SMS reply using the Send SMS via myCRMSIM action.
- The action can be tracked inside Salesforce Flow execution and debug logs.
