Table of Contents | ||||
---|---|---|---|---|
|
Installation Steps
To install the apps, please click on the link below:
Production - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4x0000002diN
Sandbox - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4x0000002diN
Please go to Appexchange for the latest version or email at support@cloudmaveninc.com
How to provide permission
We need to provide permissions to the users who will be using the application so that the users have access to the object and fields of this application.
Go to Setup.
Find Permission sets in Quick Find Box as shown below:
...
3. Click on Cloud Maven SMS.
...
4. Click on Manage Assignment Button
...
5. Click on Add Assignments
...
6. Click on Assign and assign the permission set to the required users.
...
7. Save it.
How to provide licenses
Licences are provided so that the user can access our applications.
Go to Set up.
Find Installed Packages in Quick Box.
...
3. Click on Manage Licenses of the Application in which users are needed to given licenses and to remove license of an existing user.
...
4. Save it.
How to map numbers & where to see all the numbers and what’s not assigned?
The numbers are mapped so that the users are assigned a particular number from which they can send the outbound messages.
To Map the numbers, follow the below steps:
Log in to the org.
Click on App Launcher, and search for SMS and Efax Guru App.
...
3. Open the SMS & eFax Guru Apps.
4. Click on Number User Mapping.
...
5. Click on New (if user is being assigned a new number).
...
6. In the user section, you can search for the user who is present in the org and you want to assign the number.
...
7. Find the registered Numbers in SMS Registered# Field
8. Mark the checkboxes true for IsActive & isdefault.
9. Save it.
We can see a number is assigned to particular user by clicking on SMS Number - User Mapping as shown in the screenshots below. It will also be visible in the ‘from‘From' side section of the chatbox.
...
...
Log in to your Salesforce org.
Go to App Launcher and Search for SMS & eFAX Guru Applications
...
Go To SMS Templates Tab under SMS & eFax Guru App.
...
Click on “New” under SMS Templates Tab in order to create a new SMS Template.
...
Enter the Template Name, Object(from which SMS message is to be initiated) and actual message under SMS Template Field.
...
Click On Save.
Post Installation Guide
Once the application is installed, please follow the below steps:
These steps can only be done by the Cloud Maven team as of now. The Cloud Maven team is working on adding console screen to manage the steps.
Click on the Gear icon and Go to Setup.
Search for Custom Setting in Quick Find Box.
Click on Manage of “SMS Credentials”.
...
4. Enter the details as shown in below picture.
...
5. Search for Custom Setting in Quick Find Box.
...
Data Tansfer Settings
Click on Manage of “Data Transfer Settings”.
...
72. Click on Edit of “InboundSMS_Query_Label”. This is done to ensure that there is value in the name and id field of the source object. This is also done to prioritise the objects if the app is enabled on multiple objects.
...
83. Enter the details as shown in below picture.
...
94. In value section, Enter following query :-
FIND {0} IN ALL FIELDS RETURNING Contact(Name, Id ORDER BY LASTMODIFIEDDATE DESC LIMIT 1) LIMIT 10
(Change Object Name in Query as per requirement)
10. Now, Go to Custom Settings and Click on Manage of “Features Entitlement“.
11. Mark the checkbox true for SMS.
...
Page Layouts
This is done so hat the user can access his/her messages from the source object's page itself.
Go to Object Manager and Go to the source object.
...
Click on Page Layouts
...
143. Add SMS Messages into Related List.
...
SMS Number - User Mappings:
Go to SMS from App Launcher
Go to SMS Number - User Mappings tab and click on New.
For SMS Registered #, Click on New SMS Registered #,
...
4. Enter the number and Save.
...
5. Map the user and Click on Save.
...
How to create/update SMS Templates
SMS Templates are created to make sure that user doesn’t have to type the content of the messages repeatedly. The user can simply select the template he/she wants to use and send it.
Please follow the below metioned steps to make the templates.
Log in to your Salesforce org.
Go to App Launcher and Search for SMS & eFAX Guru Applications
...
3. Go To SMS Templates Tab under SMS & eFax Guru App.
...
4. Click on “New” under SMS Templates Tab in order to create a new SMS Template.
...
5. Enter the Template Name, Object(from which SMS message is to be initiated) and actual message under SMS Template Field.
...
6. Click On Save.
To update a template -
Go to SMS and eFax Application.
Go to SMS Templates tab.
...
Click on New
...
Select the template which you want to edit
...
4. Click Next and Update the SMS/Email/Message Fields According to Business requirements.
5. Update the fields according to the business requirements.
...
How to do field mapping
Now, Go to Setup and search “Custom Metadata Types” in Quick Find Box.
Click on “Manage Records“ of SMS Configuration.
Click New.
Enter the details as shown below:
...
4. For Label, Enter Object name
5. For UI DropDown Options, Enter the required Phone field. In above picture, the required field is Phone only , if the requirement is of more than one field, write as comma separated value. (Example :- Phone,MobilePhone).
6. For Type, Select SMS
7. For SMS Opt Out, Enter the API name of SMS Opt out field. This feature provides the customer an option to not receive messages.
(Note : If Source Object is other than Contact, Please create SMS Opt Out field)
How to Create Salesforce Site
This is done to ensure that the inbound messages are received in the salseforce.
Click on the gear icon and go to setup.
In the quick find box search for sites.
...
4. Provide the required information(Label, Name, etc.) as shown in below picture.
...
5. Click Save.
How to assign Apex Class to Site Guest User
Guest Users need access to Apex classes to read and process the Webhooks received from Telnyx for InBound Messages.
In Global search, Search for Site Guest User.
Click on the site name which we have created just now.
...
cm_datatransfer.InboundMessageWebhook
cm_datatransfer.SMSMessageTriggerHandler
cm_datatransfer.SMSMessageUtility
cm_datatransfer.SMSMessageWrapper
How to enable SMS Inbox functionality
This functionality provides the user facililty to see the unread messages in the utility bar.
For SMS Inbox functionality, follow the below steps :
...
IF(Lead__c <> NULL, Lead__r.FirstName + ' ' + Lead__r.LastName, Name). This ensures that the messages received are visible with the correct record details in the SMS inbox.
Please change the Source Object Name accordingly)
4. Go to Custom Settings
...
7. For Value, Enter the API name of SObject Name field
...
8. Click Save
Remote Site Settings
Before any Apex callout can call an external site, that site must be registered in the Remote Site Settings page, or the callout fails. Salesforce prevents calls to unauthorized network addresses. Since our product has an integration with Telnyx API, we need to make an entry for the same.
Note : Please check if there is site named SMSAPISite and it is Active, If not then perform following steps :
Enter Remote Site Settings in Quick Find Box.
Click on New Remote Site.
...
3. Enter the details as shown in below picture.
...
4. Click Save.
SMS Credentials
For Customers: Please skip the steps related to SMS Credentials as these steps can only be done by the Cloud Maven team as of now. The Cloud Maven team is working on adding console screen to manage the steps for the end user.
Click on the Gear icon and Go to Setup.
Search for Custom Setting in Quick Find Box.
Click on Manage of “SMS Credentials”.
...
4. Enter the details as shown in below picture.
...
Features Enititlement
For Customers: Please skip the steps related to Features Entitlement as these steps can only be done by the Cloud Maven team as of now. The Cloud Maven team is working on adding console screen to manage the steps for the end user.
Search for Custom Setting in Quick Find Box.
Now, Go to Custom Settings and Click on Manage of “Features Entitlement“. This setting is done to enable sending and receiving messages.
Mark the checkbox true for SMS and eFax.
...
Congratulations! You have successfully installed the Application.