|
| 1 | +--- |
| 2 | +rewrite: true |
| 3 | +title: Regal Voice Destination |
| 4 | +--- |
| 5 | + |
| 6 | +[Regal Voice](https://regalvoice.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is a next-gen outbound phone marketing and sales platform that helps consumer and financial services brands proactively engage and convert customers before they buy elsewhere. |
| 7 | + |
| 8 | +Regal Voice maintains this destination. For any issues with the destination, contact their [Regal Voice support team ](mailto:[email protected]). |
| 9 | + |
| 10 | +> note "Note:" |
| 11 | +> Regal Voice is available in the U.S only. |
| 12 | +
|
| 13 | +> note "Note:" |
| 14 | +> The Regal Voice Destination is in beta, which means that they are still actively developing the destination. To join the beta program, or if you have any feedback to help improve the Regal Voice Destination and its documentation, [contact the Regal Voice support team](mailto:[email protected])! |
| 15 | +
|
| 16 | + |
| 17 | +## Getting Started |
| 18 | + |
| 19 | +{% include content/connection-modes.md %} |
| 20 | + |
| 21 | +1. From the Destinations catalog page in the Segment App, click **Add Destination**. |
| 22 | +2. Search for "Regal Voice" in the Destinations Catalog, and select the "Regal Voice" destination. |
| 23 | +3. Choose which Source should send data to the "Regal Voice" destination. |
| 24 | +4. Email [email protected] to get your "API key". |
| 25 | +5. Enter the "API Key" in the "Regal Voice" destination settings in Segment. |
| 26 | + |
| 27 | + |
| 28 | +## Page |
| 29 | + |
| 30 | +If you are not familiar with the Segment Specs, take a look to understand what the [Page method](/docs/connections/spec/page/) does. An example call looks like: |
| 31 | + |
| 32 | +```js |
| 33 | +analytics.page() |
| 34 | +``` |
| 35 | + |
| 36 | +Segment sends Page calls to Regal Voice as a pageview. |
| 37 | + |
| 38 | + |
| 39 | +## Screen |
| 40 | + |
| 41 | +If you are not familiar with the Segment Spec, take a look to understand what the [Screen method](/docs/connections/spec/screen/) does. An example call looks like: |
| 42 | + |
| 43 | +```obj-c |
| 44 | +[[SEGAnalytics sharedAnalytics] screen:@"Home"]; |
| 45 | +``` |
| 46 | +
|
| 47 | +Segment sends Screen calls to Regal Voice as a screen. |
| 48 | +
|
| 49 | +
|
| 50 | +## Identify |
| 51 | +
|
| 52 | +If you are not familiar with the Segment Spec, take a look to understand what the [Identify method](/docs/connections/spec/identify/) does. An example call looks like: |
| 53 | +
|
| 54 | +```js |
| 55 | +analytics.identify({ |
| 56 | + phone: "+19175554444", |
| 57 | + firstName: "Anne", |
| 58 | + lastName: "Smith" |
| 59 | +}); |
| 60 | +``` |
| 61 | + |
| 62 | +Segment sends Identify calls to Regal Voice as an identify event. |
| 63 | + |
| 64 | +For Regal Voice to trigger outbound voice or sms messages, Regal Voice must have the user's explicit opt-in for those channels. |
| 65 | + |
| 66 | +Anytime you collect opt-in for sms or voice calls, you should use an `identify` call to pass that opt-in information to Regal Voice. For many brands, this may happen before a user creates an account in your application. |
| 67 | + |
| 68 | +Below is an example of what an `identify` call would look like for a user who opted into multiple channels (sms and voice calls) at once: |
| 69 | + |
| 70 | +```js |
| 71 | +analytics.identify({ |
| 72 | + phone: '+19175554444', |
| 73 | + age: 30, |
| 74 | + firstName: "Anne", |
| 75 | + lastName: "Smith", |
| 76 | + optIn: [ |
| 77 | + { |
| 78 | + channel: "sms", |
| 79 | + subscribed: true, |
| 80 | + subscribedAt: "2020-08-25T21:23:43Z", |
| 81 | + ip: "172.16.254.1", |
| 82 | + text: "By clicking the 'Submit' button below, I agree to receive automated marketing SMS and calls." |
| 83 | + }, |
| 84 | + { |
| 85 | + channel: "voice", |
| 86 | + subscribed: true, |
| 87 | + subscribedAt: "2020-08-25T21:23:43Z", |
| 88 | + ip: "172.16.254.1", |
| 89 | + text: "By clicking the 'Submit' button below, I agree to receive automated marketing SMS and calls." |
| 90 | + }] |
| 91 | +}) |
| 92 | +``` |
| 93 | + |
| 94 | +Supported messaging channels are: `sms`, `voice` and `email`. |
| 95 | + |
| 96 | +The `ip` field is required if you are opting in users server side. |
| 97 | + |
| 98 | +Make sure to include `subscribedAt` with the exact time the user opted in. Since traits are [cached](/docs/connections/sources/catalog/libraries/website/javascript/identity/#clearing-traits) and sent with subsequent `identify` calls, Regal Voice ignores opt-ins without a `subscribedAt` date. |
| 99 | + |
| 100 | + |
| 101 | +## Track |
| 102 | + |
| 103 | +If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](/docs/connections/spec/track/) to learn about what it does. |
| 104 | + |
| 105 | +Segment recommends calling `track` on any user or system event that you may want Regal Voice to be able to use for lead scoring or as triggers or conditions when sending voice and sms campaigns. |
| 106 | + |
| 107 | +Segment sends `track` calls to Regal Voice as a track event. Pass allattributes relevant to your use case into the `properties` object. |
| 108 | + |
| 109 | +Regal Voice communications can be triggered proactively to a user based on their activity or inactivity - in order to nudge them through your funnel. |
| 110 | + |
| 111 | +An example for a financial services company might be that you want to tigger an outbound call to a user for whom a 'Loan Application Approved' event has been received, but not a 'Loan Signed' event (with some parameter around timing). |
| 112 | + |
| 113 | +In that case, an example`track` call for the 'Loan Application Approved' event would look like: |
| 114 | + |
| 115 | +```js |
| 116 | +analytics.track('Loan Application Approved', { |
| 117 | + loanType: 'Personal loan', |
| 118 | + amount: 30000 |
| 119 | + currency: 'USD' |
| 120 | + term: 12 |
| 121 | +}) |
| 122 | +``` |
| 123 | + |
| 124 | +Regal Voice communications can also be triggered reactively in response to a user's request for a call back. For example, when a user schedules a call back on your site, the associated `track` call would look like: |
| 125 | + |
| 126 | +```js |
| 127 | +analytics.track('Call Back Requested', { |
| 128 | + timing: '2020-09-01 15:40:00 -04:00', |
| 129 | + expiry: 3600, |
| 130 | + urgency: 'scheduled' |
| 131 | +} |
| 132 | +``` |
| 133 | +--- |
0 commit comments