Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Regal.io Source


Source Info
  • The Regal.io Source is an Event Cloud source. This means that it sends data as events, which are behaviors or occurrences tied to a user and a point in time. Data from these sources can be loaded into your Segment warehouses, and also sent to Segment streaming destinations. Learn more about cloud sources.
(warning)

This Source is supported in US data processing regions.

This Source is only supported in workspaces configured to process data in the US region. Workspaces configured with data processing regions outside of the US cannot connect to this source. For more information, see Regional Segment.

Regal.io(link takes you to an external page) is a next-gen customer engagement platform built for B2C services brands to proactively reach out to customers on voice and sms before they buy elsewhere.

Regal.io maintains this source. For any issues with the source, contact the Regal.io Support team.

(success)

Good to know

This page is about the Regal.io Segment source, which sends data into Segment. There's also a page about the Regal.io Segment destination, which receives data from Segment!


Getting started

getting-started page anchor
  1. From your workspace's Sources catalog page(link takes you to an external page) click Add Source.

  2. Search for "Regal.io" in the Sources Catalog, select click Regal.io, and click Add Source.

  3. On the next screen, give the Source a nickname and configure any other settings.

    The nickname is used as a label in the Segment app, and Segment creates a related schema name in your warehouse. The nickname can be anything, but we recommend using something that reflects the source itself and distinguishes amongst your environments (eg. Regal_io_Prod, Regal_io_Staging, Regal_io_Dev).

  4. Click Add Source to save your settings.

  5. Copy the Write key from the Segment UI and email it to support@regal.io.


The table below lists events that Regal.io sends to Segment. These events appear as tables in your warehouse and as regular events in other Destinations. Regal.io includes the userId if available.

Event nameProperty description
agent.activity.updatedAn agent's activity status was changed.
call.completedAn inbound or outbound call with a contact was completed. This includes calls that were not answered.
call.recording.availableA call recording link is available.
contact.subscribedA contact was subscribed to a marketing channel.
contact.unsubscribedA contact was unsubscribed from a marketing channel.
contact.attribute.editedA contact's attributes were edited by an agent.
contact.experiment.assignedA contact was assigned to an experiment.
scheduled.callback.requestedA callback was scheduled.
sms.conversation.completedAn SMS conversation between a contact and an agent was completed in the Regal.io agent desktop.
sms.queuedAn SMS was queued to be sent from Regal.io to contact.
sms.sentAn SMS was sent from Regal.io to contact.
sms.undeliveredAn SMS was undelivered from Regal.io to contact.
sms.receivedAn SMS was received from a contact.
task.canceledA call or SMS task was canceled.
task.createdA call or SMS task was created.
task.reservation.createdA reservation was created for a task.
task.reservation.acceptedA reservation was accepted by an agent.

Property NameDescription
agent_activity_nameName of agent's new availability status
agent_availabilityAvailability of agent's previous activity status; can be true or false
agent_emailEmail of the agent who took an action
agent_previous_activity_nameName of agent's previous availability status
agent_previous_availabilityAvailability of agent's previous activity status; can be true or false
agent_time_in_previous_activityTime (in seconds) agent spent in previous activity status
call_idTask Id for the call
callback_timestampWhen the callback is scheduled for
campaign_idCampaign Id
campaign_friendly_idCampaign Friendly Id as seen in the app
campaign_nameCampaign name
cancelation_reasonReason the task was canceled_by
cancelation_sourceSource of where the task was canceled
canceled_byIncludes the email of the user who canceled the task, if applicable
changesChanges made for the contact.attribute_edited event
channelThe marketing channel: "voice" or "SMS"
completed_atUTC Timestamp when the task was completed_at
contact_phonePhone number of the contact_phone
contentContent of the message
directionINBOUND or OUTBOUND
dispositionTask disposition
emailThe last email associated with the contact
ended_atUTC Timestamp when the conversation was ended
experiment_idExperiment ID
experiment_nameName of experiment
experiment_variantVariant a contact was assigned to in an experiment
from_numberPhone number that sent the message
handle_timeFull duration task was being handled, including talk time and wrap time (completed_at - started_at)
ipThe IP address from where the subscription update was initiated
media_urlMedia URL (if it was an MMS)
notesTask notes
objectionsTask objections
phoneThe phone number the subscription updated was applied to; phone number is the unique identifier for a contact in Regal.io
queueTask Queue
recording_linkCall recording link
regal_voice_phoneRegal.io phone number
regal_voice_phone_internal_nameInternal name of phone line displayed to agents
reserved_agent_emailEmail of the agent the task reservation is for
reserved_agent_full_nameFull name of the agent the task reservation is for
scheduling_agent_emailEmail of the agent who scheduled the callback
scheduling_agent_fullnameFull name of the agent who scheduled the callback
scheduling_agent_idEmail of the agent who scheduled the callback
sms_conversation_idTask ID for the conversation (if the SMS was part of a two-way conversation with an agent, rather than just an automated outbound sms)
sourceSource of the subscription update. A source value that starts with "Brand." indicates that the subscription update was initiated by the Brand (outside of the Regal.io platform). A source value that starts with "RegalVoice." indicates that the subscription update was initiated through the Regal.io platform.
started_atUTC timestamp when the conversation was started
talk_timeDuration of conversation (ended_at - started_at)
target_agent_fullnameFull name of the agent who contact (and all contact's tasks) are assigned to
target_agent_idEmail of the agent who contact (and all contact's tasks) are assigned to
task_idUnique identifier for the task. Will match the call_id or sms_conversation_id of a completed task event.
textThe exact text the contact was presented for opt in
timestampUnix timestamp for when the event took place
to_numberPhone number to which the message was spent
typeTask Type
wrapup_timeDuration task was in wrap up (completed_at - ended_at)

Now that your Source is set up, you can connect it with Destinations.

Log into your downstream tools and check to see that your events appear as expected, and that they contain all of the properties you expect. If your events and properties don't appear, check the Event Delivery tool, and refer to the Destination docs for each tool for troubleshooting.

If there are any issues with how the events are arriving to Segment, contact the Regal.io support team.