Welcome to Intern Connector, our goal is connect new Twilio interns with established Twilions to foster inclusion. By reaching out to interns and creating a community around them, they will feel more empowered and more likely to be engaged at work and accept a full time offer.
- Twilio account
- Airtable account
- Log into Airtable and create a new
Base
. - Include record fields called
Name
,City
,Fun Fact
,Bio
,Team
, andSlack
. - Rename the
table
to "interns". - Retrieve your Airtable
API key
andBase key
. We will use these in our Twilio Function to get access the contents of our Airtable base. - Finally add your data about your interns or people to get to know
- Navigate to the Functions tab, and set up a new service called
get-intern
- Copy the code from
service.js
in this repo to your service. - Navigate to Dependencies and add
airtable
. - Navigate to Enviornment Variables and add a key called
AIRTABLE_KEY
andINTERNS_TABLE_ID
. Respectively add your AirtableAPI key
and yourBase key
as the values. - Save and deploy your Function.
- Retrieve your Function URL, we will need this for our Studio Flow in the next guide.
- Create a new Flow and give it the name 'Intern Connector'.
- Select "Import from JSON", and copy the JSON from
studio.js
when prompted for your JSON. - Under the widget titled http_1 paste your Function URL as the
REQUEST URL
. - Save the widget and publish your flow.
- Purchase a number from the Numbers dashboard and make sure it has SMS enabled.
- For incoming messages configure it to send it to a Studio Flow, and select your newly made Studio Flow.
- Save your settings.
- Text 'meet somemone' to your number to see it in action.