Twilio powers the future of business communications by enabling phones, VoIP, and messaging to be embedded into web, desktop, and mobile software. Visit Website
Take your company’s analysis to the next level by adding Twilio as a Source to Segment. We’ll automatically collect objects like
Messages and load them into your data warehouse.
From your workspace’s
Give the source a nickname and a schema name. The nickname will be used to designate the source in the Segment interface, and the schema name is the namespace you’ll be querying against in your warehouse. Both can be whatever you like, but we recommend sticking to something that reflects the source itself, like
Twiliofor nickname and
twilio_prodfor the schema name.
Note that you can add multiple instances if you have multiple Twilio accounts. That’s why we allow you to customize the source’s nickname and schema name!
When you click Connect, you’ll be dropped into Twilio’s OAuth flow. Once you sign in and grant permissions, you’ll be good to go!
The Twilio source is built with a sync component, which means we’ll make requests to their API on your behalf on a 3 hour interval to pull the latest data into Segment. In the initial sync, we’ll grab all the Twilio objects (and their corresponding properties) according to the Collections Table below. The objects will be written into a separate schema, corresponding to the source instance’s schema name you designated upon creation (ie.
Our sync component uses an upsert API, so the data in your warehouse loaded via sync will reflect the latest state of the corresponding resource in Twilio. For example, if
ticket_status goes from
closed between syncs, on its next sync that tickets status will be
The source syncs and warehouse syncs are independent processes. Source runs pull your data into the Segment Hub, and warehouse runs flush that data to your warehouse. Sources will sync with Segment every 3 hours. Depending on your Warehouses plan, we will push the Source data to your warehouse on the interval associated with your billing plan.
At the moment, we don’t support filtering which objects or properties get synced. If you’re interested in this feature, please let us know!
Collections are the groupings of resources we pull from your source. In your warehouse, each collection gets its own table.
|addresses||object||An Address instance resource represents your or your customer’s physical location within a country. For more info, see here|
|calls||object||A Call instance resource represents a connection between a telephone and Twilio. For more info, see here|
|conferences||object||The Conference instance resource allows you to query and manage the state of individual conferences. For more info, see here|
|transcriptions||object||A Transcription instance resource represents a transcription of a recording For more info, see here|
|messages||object||A Message instance resource represents an inbound or outbound message. For more info, see here|
|call_feedback||object||The Call Feedback subresource provides a simple API to report the quality experienced during a phone call. For more info, see here|