Skip to Content

Twilio

A handy Sever for easily sending SMS and WhatsApp messages with Twilio.

Features

  • Send SMS messages via Twilio
  • Send WhatsApp messages via Twilio
  • Built for Arcade integration

Prerequisites

A Twilio with:

  • SID
  • SID
  • Secret
  • A Twilio phone number
  • WhatsApp enabled on your Twilio number (for WhatsApp functionality)

To set up your Twilio and acquire the required credentials, please refer to the Twilio documentation: Create an API Key . This guide will walk you through the process of creating an account and generating the necessary .

Configuration

By default, the configuration is loaded from an engine.env file in your root, but you can specify a different file if needed. Ensure the file contains the following variables:

ENV
TWILIO_ACCOUNT_SID=your_account_sid TWILIO_API_KEY_SID=your_api_key_sid TWILIO_API_KEY_SECRET=your_api_key_secret TWILIO_PHONE_NUMBER=your_twilio_phone_number MY_PHONE_NUMBER=your_personal_phone_number

Usage Examples

Explore the versatility of this Sever with the following example prompts:

  • 📩 Send an SMS to your personal number:

    Prompt: “Send an SMS to my number saying ‘Hello from Arcade!’”

  • 💬 Dispatch a WhatsApp message:

    Prompt: “Send a WhatsApp message to +19999999999 with the top 10 movies of all time.”

  • ⏰ Schedule a reminder SMS:

    Prompt: “Send an SMS to my number reminding me about the meeting at 3 PM tomorrow.”

  • 💡 Share a motivational quote via WhatsApp:

    Prompt: “Send a WhatsApp message to +19999999999 with the quote ‘The only way to do great work is to love what you do. - Steve Jobs’”

  • 🌤️ Provide a weather update via SMS:

    Prompt: “Send an SMS to +19999999999 with today’s weather forecast for New York City.”

  • 🎉 Send a birthday greeting via WhatsApp:

    Prompt: “Send a WhatsApp message to +19999999999 saying ‘Happy Birthday! Hope you have a fantastic day!’”

Last updated on