Twilio

Twilio is a cloud communications platform used to send and receive SMS and MMS, place and record voice calls and conferences, run chat conversations, verify phone numbers and build automated flows in Studio. With Weld you can sync your Twilio data into your data warehouse and report on messaging volume, call quality, conversation activity and usage spend alongside the rest of your business data.

Features

Feature nameSupported
Column HashingTrueColumn level
BlockingTrueColumn level
IncrementalTrue
Custom dataFalse
HistoryTrue
ReSyncTrueTable level
TemplatesFalse

Data Schema


Setup Guide - ELT

Step 1 - Copy your Account SID

  1. Sign in to the Twilio Console.
  2. On the account dashboard, copy the Account SID — it starts with AC.

Step 2 - Create an API Key

  1. In the Twilio Console, go to Account → API keys & tokens.
  2. Create a new Standard API Key and give it a name such as weld.
  3. Copy the SID (starts with SK) and the Secret.

Step 3 - Create the connection

  1. In the Weld app, navigate to Connections and click + New Connection.
  2. Search for Twilio and select it.
  3. Enter the destination schema name of your choice. This name is used to identify the connection in future syncs.
  4. Paste your Account SID, API Key SID and API Key Secret.
  5. Click Connect. Weld verifies the credentials by fetching your account and checking that it is active.

Step 4 - Data To Sync

Select the tables you wish to include in the sync. You can view the schema, remove columns or hash sensitive information.

The connector covers Twilio's REST API as well as the Conversations, Messaging, Verify, Studio, SIP Trunking and Voice Insights APIs:

  • Account and configurationaccount, address, incoming_phone_number, outgoing_caller_id, trunk
  • Messagingmessage, message_media, messaging_service
  • Voicecall, recording, conference, conference_participant, conference_participant_extended_coached_participant
  • Conversationsconversation, conversation_message, conversation_message_receipt, conversation_participant, conversation_user, service, role
  • Studio flowsflow, flow_definition_state, flow_definition_flag, execution, execution_context, execution_step, execution_step_context
  • Verifyverification_service, verification_attempt
  • Usageusage_record

Step 5 - Configure sync

  1. Select how often you would like the data to sync.
  2. Choose a start date to limit how far back the initial sync goes. If you leave it empty, Weld backfills the last two years for the streams that support date filtering.
  3. Provide a unique destination table name.

Weld will take over from here and commence syncing data from your Twilio account.

Was this page helpful?