make-phone-call
Skill: make-phone-call
Overview
This skill uses the Twilio API to programmatically initiate outbound phone calls with text-to-speech messages. The call is queued immediately and the recipient will hear the message read aloud when they answer.
When to Use
Use this skill when the user asks to:
- Make a phone call
- Call someone
- Initiate an outbound call
- Send a voice message
- Notify someone via phone call
- Leave a voice message
Required Credentials
Retrieve these via the get_keys tool before executing:
| Key Store Key | Environment Variable | Description |
|---|---|---|
twilio_account_sid |
TWILIO_ACCOUNT_SID |
Your Twilio Account SID for API authentication |
twilio_auth_token |
TWILIO_AUTH_TOKEN |
Your Twilio Auth Token for API authentication |
twilio_phone_number |
TWILIO_PHONE_NUMBER |
Your Twilio phone number to send calls from |
Twilio Setup
- Create a Twilio account at twilio.com
- Verify your identity and get your Account SID and Auth Token from the Console dashboard
- Purchase or verify a phone number for making outbound calls
- Store credentials in the key store: twilio_account_sid, twilio_auth_token, twilio_phone_number
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
recipient_phone_number |
Yes | The phone number to call in E.164 format | {{PHONE_NUMBER}} |
message_text |
Yes | The message to be read aloud via text-to-speech | hey buddy |
Procedure
- Retrieve Twilio credentials using
get_keyswith keys[twilio_account_sid, twilio_auth_token, twilio_phone_number] - Get the recipient phone number and message content from the user if not provided (use
ask_user) - Validate phone numbers are in E.164 format (e.g., {{PHONE_NUMBER}})
- Install Twilio Node.js package if not already present:
npm install twilio - Create and execute the call script using bundled
make_call.jswith recipient number and message text - Verify the response contains a Call SID indicating successful queue
- Report call status and SID to the user
Output
A confirmation message containing the Call SID, recipient number, sender number, message text, and call status (queued).
Bundled Scripts
| Script | Type | Description |
|---|---|---|
scripts/make_call.js |
JS | Auto-captured from task execution |
Credentials in scripts use environment variables. Set them via get_keys before running.
Reference Commands
Commands for executing this skill (adapt to actual inputs):
npm install twilio
node make_call.js {{RECIPIENT_PHONE}} {{MESSAGE_TEXT}}
Replace {{PLACEHOLDER}} values with actual credentials from the key store.
Example
Example requests that trigger this skill:
make a phone call to confirm the appointment
Notes
- Phone numbers must be in E.164 format (e.g., {{PHONE_NUMBER}} for US numbers)
- Twilio trial accounts can only call verified phone numbers
- The call is queued immediately; actual connection may take a few seconds
- Text-to-speech voice is set to 'alice' by default
- Ensure the Twilio phone number has outbound calling permissions enabled
Keywords
call, phone, voice, twilio, outbound, text-to-speech, tts, notify
More from dalehurley/phpbot
desktop-control
Control the mouse, keyboard, and read screen content via accessibility. Use this skill when the user asks to click somewhere on screen, type text into an app, move the mouse, press keyboard shortcuts, read what's on screen, get the accessibility tree of the current window, automate desktop interactions, or control the computer.
39summarize-unread-emails
Retrieve and summarize all unread emails from your inbox, organized by category, sender, and date. Use this skill when the user asks to summarize unread emails, get an overview of unread messages, organize inbox emails, or review pending email communications. Provides a structured summary with categorization and timeline analysis.
20open-application
Open or launch applications on your computer by name. Use this skill when the user asks to open, launch, or start an application like Mail, Finder, Safari, Chrome, or any other installed macOS application. Works with both built-in and third-party applications.
10homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10csv-tools
Parse, query, filter, sort, transform, and summarize CSV and JSON data files. Use this skill when the user asks to view a CSV, filter data, get statistics from a data file, convert CSV to JSON or vice versa, sort data, or analyze tabular data.
9get-weather-forecast
Retrieve current weather conditions and multi-day forecasts for any location using the wttr.in API. Use this skill when the user asks for weather information, weather forecast, current conditions, temperature, or weather updates for a specific city or location. Provides detailed weather data including temperature, wind, precipitation, and visibility.
8