Skip to main content

AI-cal

SignalWire AI Agent Calendar Demo Application

Create Google Calendar meetings seamlessly over the phone by dialing into an AI-enabled phone number supplied by SignalWire.

The phone number is linked to execute a SWML script, streamlining the process of scheduling meetings directly from your call.

On this page, you'll find a full breakdown of the prompts used, along with all the functions. To quickly access all relevant files, please visit the GitHub repository.

tip

The AI-cal demo is available in both Perl and Node.js versions.

GitHub Repository

View the project and clone it to your development environment from the GitHub repository.


Features

  • Enables users to schedule Google Calendar meetings via phone call.
  • Utilizes AI-enabled phone numbers provided by SignalWire.
  • Configured with SWML script for efficient meeting scheduling.

Usage

  1. Clone the repository to your local machine.
  2. Navigate to ./server/Node_Examples/AI_Calendar_Demo/.
  3. Set up your environment variables by creating a .env file and adding the required configurations (refer to the provided .env.example for reference).
  4. Run the application using node app.js.
  5. Access the application through your preferred web browser.

Configuration

  1. Open http://localhost:3000/login select your Google account and click on continue to update Google OAuth tokens in the database.
  2. Copy the Ngrok URL from the console, open your SignalWire Space, and click on the Phone number tab.
  3. Click on the Phone number to configure the SWML script URL.
  4. Click on edit settings and change the * ACCEPT INCOMING CALLS AS drop down to Voice calls and * HANDLE CALLS USING a SWML Script.
  5. Place your Ngrok ULR along with a path like https://abc.ngrok-free.app/main_webhook in * WHEN A CALL COMES IN: textbox and click on the Save button.
  6. Now make the call to your SignalWire number to create a Google Calendar event.

GitHub

Check out the full project repository for the AI-cal demo on GitHub.


SignalWire

SignalWire’s AI Agent for Voice allows you to build and deploy your own digital employee. Powered by advanced natural language processing (NLP) capabilities, your digital employee will understand caller intent, retain context, and generally behave in a way that feels “human-like”.
In fact, you may find that it behaves exactly like your best employee, elevating the customer experience through efficient, intelligent, and personalized interactions.

Made with ❤️ by SignalWire's DevEx team

Have feedback on this site? Drop us a line at devex@signalwire.com or visit the Community Slack.