January 29, 2025

New workflow nodes, improved call handling, better phone number management, and expanded tool calling capabilities

  1. New Hangup Workflow Node: You can now include a Hangup node in your workflows to end calls programmatically.

  2. New HttpRequest Workflow Node: Workflows can now make HTTP requests using the new HttpRequest node, enabling integration with external APIs during workflow execution.

  3. Updates to Tool Calls: The ToolCall schema has been revamped; you should update your tool calls to use the new function property with id and function details (instead of older tool and toolBody properties).

  4. Improvements to Say, Edge, Gather, and Workflow Nodes:

  • The name, to, and from properties in these nodes now support up to 80 characters, letting you use more descriptive identifiers.
  • A metadata property has been added to these nodes, allowing you to store additional information.
  • The Gather node now supports a confirmContent option to confirm collected data with users.
  1. Regex Validation with Json Outputs: You can now validate inputs and outputs from your conversations, tool calls, and OpenAI structured outputs against regular expressions using the regex property in JSON outputs node.

  2. New Assistant Transfer Mode: A new transfer mode swap-system-message-in-history-and-remove-transfer-tool-messages allows more control over conversation history during assistant transfers.

  3. Area Code Selection for Vapi Phone Numbers: You can now specify a desired area code when creating Vapi phone numbers using numberDesiredAreaCode.

  4. Chat Completions Support: You can now handle chat messages and their metadata within your applications using familiar chat completion messages in your workflow nodes.