Company
Date Published
Author
Ashley Boucher
Word count
871
Language
English
Hacker News points
None

Summary

This article explains how to forward any incoming text messages sent to your Twilio phone number to another number automatically using a no-code solution called Twilio Studio. To get started with this tutorial, you need a free Twilio account and a Twilio phone number, then create a new flow in the Studio Flows section of your Twilio Console by clicking on the + button and selecting "Start from scratch". A flow is created by dragging widgets together to form an application flow, where each widget has at least one connection line. The trigger for this flow is triggered when a message comes in, so you need to add a Send Message widget to the canvas and connect it to the incoming message using the Incoming Message connection line. You then configure the Send Message widget by copying a piece of code that refers to the body of the incoming message and pasting it into the MESSAGE BODY field, and replace the SENDMESSAGE TO heading with the phone number you want to forward the message to. After configuring the widgets, click Publish at the top of the canvas to save your work and deploy it. Finally, attach this Studio flow to your Twilio phone number by navigating to the active phone numbers section of the Twilio Console and selecting "Studio Flow" from the left hand drop down and then selecting your new flow from the right hand drop down.