UltravoxエージェントとTwilioを使った通話の自動化
中級
これはAI Chatbot, Multimodal AI分野の自動化ワークフローで、8個のノードを含みます。主にSet, Twilio, HttpRequest, ManualTriggerなどのノードを使用。 オフコール自動化:Ultravox AIエージェントを電話音声コールに接続、Twilioを使用
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "2szamFl9EWRq9vWT",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Automate Call with Ultravox Agent and Twilio",
"tags": [],
"nodes": [
{
"id": "b43c0724-3e62-4d39-b23e-2bb2d7f3febf",
"name": "Ultravox通話作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
176,
112
],
"parameters": {
"url": "=https://api.ultravox.ai/api/agents/{{ $json.agent_id }}/calls ",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "medium",
"value": "={{\n{\n twilio: {}\n}\n}}"
}
]
},
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "o89TJFFA1zm5vR29",
"name": "Header Auth Ultravox"
}
},
"typeVersion": 4.2
},
{
"id": "a3c5dc92-9db1-41c1-ad42-c2ac256220d3",
"name": "手動開始",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-320,
112
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d69ed985-132d-417c-a073-7d48f6e42d0d",
"name": "Twilio通話",
"type": "n8n-nodes-base.twilio",
"position": [
384,
112
],
"parameters": {
"to": "={{ $('Set Params').item.json.phone_number }}",
"from": "={{ $('Set Params').item.json.twilio_number }}",
"twiml": true,
"message": "=<Response><Connect><Stream url=\"{{ $json.joinUrl }}\"/></Connect></Response> ",
"options": {},
"resource": "call"
},
"credentials": {
"twilioApi": {
"id": "95OhsphktdjbbK8i",
"name": "Twilio account (info@n3w.it)"
}
},
"typeVersion": 1
},
{
"id": "7b8b2f16-68e2-4bda-8f20-49468166e72a",
"name": "パラメータ設定",
"type": "n8n-nodes-base.set",
"position": [
-80,
112
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "3281eadf-55e5-4aa5-b1c6-7d676d5be3ec",
"name": "agent_id",
"type": "string",
"value": "xxxxxx-xxxxx-xxxxx-xxxxxxxxxxx"
},
{
"id": "bbda4e33-1520-4973-80d8-957480e60a81",
"name": "twilio_number",
"type": "string",
"value": "+1xxxxxx"
},
{
"id": "7e031906-ae2b-4c02-9e11-43ff39a84351",
"name": "phone_number",
"type": "string",
"value": "+1xxxxxxx"
}
]
}
},
"executeOnce": false,
"typeVersion": 3.4
},
{
"id": "52f76fc0-bf28-4e56-9548-35837bdec2d8",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-832
],
"parameters": {
"color": 3,
"width": 800,
"height": 272,
"content": "## Automated Outbound Calls: connect Ultravox AI Agents to Phone Calls with Twilio\n\nThis workflow transforms n8n into a call automation system, where AI agents can talk directly with people over the phone using Twilio.\n\nThis workflow integrates Ultravox AI voice agents with Twilio’s telephony service to fully automate outbound phone calls\n\nUltravox generates the AI conversation and audio, while Twilio handles the PSTN connection to the actual phone network, with the two services connected in real-time via a media stream."
},
"typeVersion": 1
},
{
"id": "a71aa1fb-7dcd-45e2-850d-728d3436c9f7",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-528
],
"parameters": {
"width": 800,
"height": 224,
"content": "## STEP 1 - Buy a Phone Number on Twilio\n- Log into your [Twilio Console](https://www.twilio.com/)\n- Navigate to Phone Numbers\n- Search for Available Numbers\n- Select Your Number\n- Click \"Buy This Number\" to finalize the purchase\n- Get \"Accound SID\" and \"Auth Token\" and set these in \"Twilio Call\" node\n- Set 'twilio_number' in \"Set Params\" node (+1xxxxxxxxxx)\n"
},
"typeVersion": 1
},
{
"id": "34a2ff34-0868-4452-ab3c-cdc1c2a72a30",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-272
],
"parameters": {
"width": 800,
"height": 176,
"content": "## STEP 2 - Create an Agent on Ultravox\n- Log into your [Ultravox App](https://app.ultravox.ai/)\n- Click on \"Agents\" and \"New Agent\"\n- Set Voice, Tools (optional), System Prompt\n- Save and get your Agent ID\n- Set 'agent_id' in \"Set Params\" node\n"
},
"typeVersion": 1
},
{
"id": "ff1a5d6a-8475-4c37-bb8b-403cd8d36c36",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-64
],
"parameters": {
"width": 800,
"height": 112,
"content": "## STEP 3 - Make a Call\n- Set your 'phone_number' in \"Set Params\" node\n- Execute WF"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "0be19839-e84f-4a06-b5f3-9c1f6f679c3e",
"connections": {
"7b8b2f16-68e2-4bda-8f20-49468166e72a": {
"main": [
[
{
"node": "b43c0724-3e62-4d39-b23e-2bb2d7f3febf",
"type": "main",
"index": 0
}
]
]
},
"d69ed985-132d-417c-a073-7d48f6e42d0d": {
"main": [
[]
]
},
"a3c5dc92-9db1-41c1-ad42-c2ac256220d3": {
"main": [
[
{
"node": "7b8b2f16-68e2-4bda-8f20-49468166e72a",
"type": "main",
"index": 0
}
]
]
},
"b43c0724-3e62-4d39-b23e-2bb2d7f3febf": {
"main": [
[
{
"node": "d69ed985-132d-417c-a073-7d48f6e42d0d",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - AIチャットボット, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
WooCommerce Nano BananaのAIによるバーチャル試着
WooCommerce向けにFal.ai Nano Bananaを使用して、ビジual AIフィッティング画像を自動生成
If
Set
Wait
+
If
Set
Wait
20 ノードDavide
コンテンツ作成
GeminiとGoogle Veo 3を使用してUGCビデオを作成し、Instagramにアップロード
GeminiとGoogle Veo 3を使用したUGC動画制作の自動化と、Postiz経由でのInstagramアップロード
Set
Merge
Postiz
+
Set
Merge
Postiz
13 ノードDavide
コンテンツ作成
私のスマートエージェントアリーナコミュニティ競技会
Qdrant、Mistral OCR、GPT-4を使ったRAGベースのQ&Aシステムの構築
Set
Code
Wait
+
Set
Code
Wait
41 ノードDavide
コンテンツ作成
Qdrant を使った完全な RAG システム、ドキュメントの自動更新機能付き
OpenAI、Google Gemini、Qdrant および Google Drive を使用して、自更新 RAG システムを構築
Set
Wait
Google Drive
+
Set
Wait
Google Drive
32 ノードDavide
AI RAG検索拡張
より安く Google Veo3 Fast を使って動画を作成し、ソーシャルメディアにアップロードする
Veo3 Fastで低コストAI動画を作成してYouTubeとTikTokにアップロード
If
Set
Wait
+
If
Set
Wait
23 ノードDavide
コンテンツ作成
TikTokに向けて喋るAIバーチャルアビ〜テを生成し、投稿する
ElevenLabsとInfinitalkを使って喋るバーチャルキャラ動画をTikTokに自動投稿する
If
Set
Wait
+
If
Set
Wait
24 ノードDavide
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数8
カテゴリー2
ノードタイプ5
作成者
Davide
@n3witaliaFull-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza
外部リンク
n8n.ioで表示 →
このワークフローを共有