- 21 Nov 2024
- 1 Minute to read
- Print
- DarkLight
How to Send a SMS for Missed Calls
- Updated on 21 Nov 2024
- 1 Minute to read
- Print
- DarkLight
This is for the use case where you are ringing someone for a long period of time (for example a Connect a Call App with a ring time of 900 seconds) and want to send a SMS when the person hangs up before the end of the ring time. There are two main parts to this: first, create a new data analytics policy and then amend the existing routing policy.
Create a new Data Analytics Policy
Navigate to the ‘Routing Policy’ tab using the app launcher (3×3 dots).
Create a new routing policy.
Choose Type: Data Analytics
Name: “Send Text for Missed Call'
Done & Save (then policy)
From the ‘From Policy’ click and drag to add a new action container.
Add a Rule app to the container
Name this item: Missed Call?
Configure this item: ‘Evaluate’
Property: $(CallConnected)
Operator: equals
Value: No
From the top connector, click and drag to add a new action container
Add a Notify app
Name this item: Send Text
Configure this item: Sms
Send message on: All Attempts
Send SMS to: [insert number to send SMS to]
Sender Number: [insert a number that you have enabled for SMS by contacting our support team]
SMS Message: There was a missed call from $(E164CallerNumber).
Optional: if you have queried the contact already, you could add this onto the end of the SMS Message: “The caller's name: $(SForce_Contact.Name)'“. Make sure to use the correct macro for the contact you have queried.
Click ‘Save’.
Amend Existing Routing Policy
Navigate to your existing policy where the call is trying to be put through.
Break the connection to the container that is connected before the action container with the Connect a Call in it.
Add a ‘To Policy’ container’ and a ‘Data Analytics’ app.
Name this item: Send Text for Missed Call
Configure this item: Select the name of the policy you made above [Send Text for Missed Call]
Connect the ‘To Policy’ with the action container you disconnected it from in step 2.
Click ‘Save’.
Before:
After: