8
n8n 中文网amn8n.com

自动化电话面试评估,使用Vapi、GPT-4o和Google表格

中级

这是一个HR, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 Set, Webhook, GoogleSheets, Agent, LmChatOpenAi 等节点。 自动化电话面试评估,使用Vapi、GPT-4o和Google表格

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "efb474b59b0341d7791932605bd9ff04a6c7ed9941fdd53dc4a2e4b99a6f9439"
  },
  "nodes": [
    {
      "id": "3cc91fbb-2e99-45ee-8821-67ed388109d5",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -200,
        40
      ],
      "webhookId": "351ffe7c-69f2-4657-b593-c848d59205c0",
      "parameters": {
        "path": "351ffe7c-69f2-4657-b593-c848d59205c0",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "903ca124-8988-42a4-9164-75b04d338fd9",
      "name": "编辑字段2",
      "type": "n8n-nodes-base.set",
      "position": [
        0,
        60
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "d804175b-c363-4564-a265-b639ed502251",
              "name": "body.message.artifact.transcript",
              "type": "string",
              "value": "={{ $json.body.message.artifact.transcript }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "04c4089d-a6e7-45b0-8417-1baaa6adea56",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        460,
        -40
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "ghJTvay8CvwXDsXz",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "17735ead-a04a-488b-b176-f7cd94cffbb0",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        840,
        200
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"name\": \"<First Last\",\n  \"phone\": \"8881231253\",\n  \"cityState\": \"City, State\",\n  \"qualifies\": \"True/False\",\n  \"reasoning\": \"1‑2 concise sentences summarizing why they do or do not qualify\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "5e5ea0c8-c6bc-4d9b-8815-cca16d247da4",
      "name": "OpenAI聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        580,
        220
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "ghJTvay8CvwXDsXz",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9298ef39-7743-4bf0-8251-a66a1463b18c",
      "name": "评估候选人",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        400,
        -220
      ],
      "parameters": {
        "text": "=Transcript: {{ $json.body.message.artifact.transcript }}",
        "options": {
          "systemMessage": "You are an AI assistant that reviews phone‑screen transcripts for a $17 per hour  driving job in Massachusetts.\n\nINPUT  \n• A single variable named  transcript  containing the full, verbatim conversation between “Will” (the interviewer) and the caller.\n\nEVALUATION CRITERIA  \nA candidate qualifies **only if every box below is satisfied** (case‑insensitive search is acceptable):\n\n1. ❑  They affirmed having a **valid, non‑expired, non‑suspended Massachusetts driver’s license**.  \n2. ❑  They reported **NO felony convictions**.  \n3. ❑  They reported **NO tickets or accidents in the last few years** (responses such as “none,” “clean record,” etc., count as a pass).  \n4. ❑  They **agreed to a background check**.  \n5. ❑  They **stated they can pass a drug test with zero tolerance — including marijuana**.  \n6. ❑  They are **available to work full‑time Monday–Friday**.  \n7. ❑  They **live in Massachusetts** (the transcript must mention a city/town **and** “MA” or “Massachusetts”).\n\nIf any box is unchecked,  \"qualifies\"  must be  false  and the  \"reasoning\"  field must state exactly which box(es) failed.\n\nOUTPUT  \nReturn **only** the following JSON object (no additional text, no Markdown, no code block, if one is unknown, just put unknown):\n\n{\n  \"name\": \"First Last\",\n  \"phone\": \"8881231253\",\n  \"cityState\": \"City, state\",\n  \"qualifies\": \"true/false\",\n  \"reasoning\": \"1–2 concise sentences explaining why the candidate does or does not qualify\"\n}\n\nRULES  \n• If any of the first three fields are missing, write `\"unknown\"` (string).  \n• \"qualifies\" must be a boolean value (true or false).  \n• When \"qualifies\" is false, the reasoning must reference the specific criterion/criteria that were not met.  \n• Output **nothing** except the JSON object described above.\n"
        },
        "promptType": "define"
      },
      "typeVersion": 1.8
    },
    {
      "id": "ddd4bd70-9e00-478c-97f1-601100de5f23",
      "name": "转换为 JSON",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        640,
        60
      ],
      "parameters": {
        "text": "={{ $json.output }}",
        "options": {
          "systemMessage": "convert this into valid json only. outupt this format. {\n  \"name\": \"<First Last\",\n  \"phone\": \"8881231253\",\n  \"cityState\": \"City, State\",\n  \"qualifies\": \"True/False\",\n  \"reasoning\": \"1‑2 concise sentences summarizing why they do or do not qualify\"\n}"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.8
    },
    {
      "id": "019f4026-ab3b-4ff7-97f6-be39c5ee2edc",
      "name": "保存到Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        920,
        -180
      ],
      "parameters": {
        "columns": {
          "value": {
            "name": "={{ $json.output.name }}",
            "phone": "={{ $json.output.phone }}",
            "cityState": "={{ $json.output.cityState }}",
            "qualifies": "={{ $json.output.qualifies }}",
            "reasoning": "={{ $json.output.reasoning }}"
          },
          "schema": [
            {
              "id": "name",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "phone",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "phone",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "cityState",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "cityState",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "qualifies",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "qualifies",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "reasoning",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "reasoning",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": " ",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": " ",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/18W1ZzPM__foVNjeapuxnon0ZtgxaQjncNaamuZOdUSo/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "18W1ZzPM__foVNjeapuxnon0ZtgxaQjncNaamuZOdUSo",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/18W1ZzPM__foVNjeapuxnon0ZtgxaQjncNaamuZOdUSo/edit?usp=drivesdk",
          "cachedResultName": "Drivers"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "WsgMg14OYooIdvn7",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "7e0c1e84-feb2-4438-9af3-b234d3a954cc",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -740
      ],
      "parameters": {
        "width": 1932,
        "content": "## 📬 需要帮助或想要自定义?"
      },
      "typeVersion": 1
    },
    {
      "id": "5d71a4d8-8110-4497-896d-6aab71ea25b1",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        -560
      ],
      "parameters": {
        "color": 6,
        "width": 700,
        "height": 860,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "583e83d3-3676-43aa-8a71-fb735c603f3f",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -560
      ],
      "parameters": {
        "color": 5,
        "width": 600,
        "height": 860,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c312380c-e073-40e9-b285-d8d7544ed8ff",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -560
      ],
      "parameters": {
        "color": 5,
        "width": 600,
        "height": 860,
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {
    "Webhook": [
      {
        "body": {
          "message": {
            "call": {
              "id": "124fd3f8-ce9e-4dfd-b48f-5cb586649945",
              "type": "webCall",
              "orgId": "1ab1ad2b-aeda-494c-800a-e35256ab67d1",
              "status": "queued",
              "monitor": {
                "listenUrl": "wss://phone-call-websocket.aws-us-west-2-backend-production3.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945/listen",
                "controlUrl": "https://phone-call-websocket.aws-us-west-2-backend-production3.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945/control"
              },
              "assistant": {
                "name": "Baraka 3",
                "model": {
                  "model": "gpt-4o",
                  "messages": [
                    {
                      "role": "system",
                      "content": "Will’s call flow — $17/hr Bank‑Transport Driver (Massachusetts)\n\nStyle notes\n• Speak slowly, clearly, and warmly.\n• Ask one question at a time; pause for the caller’s reply.\n• If the caller is silent: “Take your time — I’m here when you’re ready.”\n• Do NOT end the call if the caller gives a disqualifying answer. Instead say:\n“Thanks for letting me know — that could be an issue because of our government contract, but let’s keep going so I have the full picture.”\n\n0. Opener — gauge interest\n“Hi! Are you interested in driving for our bank‑transport team?”\n\nIf “No,” politely end the call.\nIf “Yes,” continue.\n\n1. Up‑front disclaimer (before any other questions)\n“Great! Before we go further, I need to mention that because we work under a government agency:\n\nyou must have a valid driver’s license,\n\nyou must have no felony convictions, and\n\nyou must pass a drug test with zero tolerance — including marijuana.\n\nIf any of those are an issue, it could affect eligibility, but let’s go through a few questions so I have all the details. Is that okay?”\n\n(Proceed regardless of their answer; if they raise an issue, acknowledge with the “could be an issue” line and move on.)\n\n2 – 8. Application questions (ask one at a time)\nName & location\n“What’s your full name, and where do you currently live?”\n\nLicense status\n“Do you have a Massachusetts driver’s license that’s valid — not expired, suspended, or revoked?”\nIf the caller says anything other than a clear “yes,” respond with the standard acknowledgement and continue.\n\nTickets/accidents\n“Have you had any tickets or accidents in the last few years?”\nIf they have, acknowledge it may be an issue and continue.\n\nBackground‑check consent\n“Are you comfortable completing a background check?”\nIf not, acknowledge and continue.\n\nDrug‑test ability\n“Will you be able to pass a drug test, including testing negative for marijuana?”\nIf they can’t, acknowledge and continue.\n\nBest phone number\n“What’s the best phone number to reach you at?”\n\nAvailability\n“Are you available to work full‑time, Monday through Friday?”\nAgain, if answer is “no,” acknowledge and continue.\n\n9. Review & final disclaimer\n“Here’s what I have:\n• Name & location: {repeat}\n• License: {repeat}\n• Tickets/accidents: {repeat}\n• Background‑check consent: {repeat}\n• Drug‑test ability: {repeat}\n• Phone: {repeat}\n• Availability: {repeat}\n\nBecause we work under a government contract, items like license issues, felony convictions, or a positive drug test (including marijuana) can prevent us from hiring. Our team will review everything in detail. Does all that sound right?”\n\n(Make any corrections and reconfirm.)\n\n10. Closing\n“Thank you so much for your time! We’ll review your information and get back to you shortly.\n\n• Need a callback number? 604‑123‑4567\n• Prefer email? email@gmail.com\n\nHave a great day!”"
                    }
                  ],
                  "provider": "openai",
                  "temperature": 0.5
                },
                "voice": {
                  "voiceId": "Elliot",
                  "provider": "vapi"
                },
                "server": {
                  "url": "https://autoagent.website/webhook-test/351ffe7c-69f2-4657-b593-c848d59205c0",
                  "timeoutSeconds": 20
                },
                "transcriber": {
                  "model": "nova-3",
                  "language": "en",
                  "numerals": false,
                  "provider": "deepgram",
                  "endpointing": 300,
                  "confidenceThreshold": 0.4
                },
                "firstMessage": "Hi. Are you interested in driving for Banka Transport?",
                "hipaaEnabled": false,
                "clientMessages": [
                  "hang"
                ],
                "endCallMessage": "Goodbye.",
                "serverMessages": [
                  "end-of-call-report",
                  "transcript[transcriptType=\"final\"]"
                ],
                "voicemailMessage": "Please call back when you're available.",
                "startSpeakingPlan": {
                  "waitSeconds": 0.4,
                  "smartEndpointingPlan": {
                    "provider": "livekit",
                    "waitFunction": "20 + 500 * sqrt(x) + 2500 * x^3"
                  },
                  "transcriptionEndpointingPlan": {
                    "onNumberSeconds": 0.5,
                    "onPunctuationSeconds": 0.1,
                    "onNoPunctuationSeconds": 1.5
                  }
                },
                "endCallFunctionEnabled": true,
                "backgroundDenoisingEnabled": false
              },
              "createdAt": "2025-05-11T00:23:53.488Z",
              "transport": {
                "callUrl": "https://vapi.daily.co/fCd3DmLEX4S1EDgs9C75",
                "provider": "daily",
                "assistantVideoEnabled": false
              },
              "updatedAt": "2025-05-11T00:23:53.488Z",
              "webCallUrl": "https://vapi.daily.co/fCd3DmLEX4S1EDgs9C75",
              "assistantOverrides": {
                "clientMessages": [
                  "transfer-update",
                  "transcript"
                ]
              }
            },
            "cost": 0,
            "type": "end-of-call-report",
            "costs": [
              {
                "cost": 0,
                "type": "transcriber",
                "minutes": 2.737483333333333,
                "transcriber": {
                  "model": "nova-3",
                  "provider": "deepgram"
                }
              },
              {
                "cost": 0,
                "type": "model",
                "model": {
                  "model": "gpt-4o",
                  "provider": "openai"
                },
                "promptTokens": 12315,
                "completionTokens": 394
              },
              {
                "cost": 0,
                "type": "voice",
                "voice": {
                  "model": "eleven_turbo_v2_5",
                  "voiceId": "dN8hviqdNrAsEcL57yFj",
                  "provider": "11labs"
                },
                "characters": 1815
              },
              {
                "cost": 0,
                "type": "vapi",
                "minutes": 2.6555,
                "subType": "normal"
              },
              {
                "cost": 0,
                "type": "analysis",
                "model": {
                  "model": "claude-3-7-sonnet-20250219",
                  "provider": "anthropic"
                },
                "analysisType": "summary",
                "promptTokens": 613,
                "completionTokens": 83
              },
              {
                "cost": 0,
                "type": "analysis",
                "model": {
                  "model": "claude-3-7-sonnet-20250219",
                  "provider": "anthropic"
                },
                "analysisType": "successEvaluation",
                "promptTokens": 1391,
                "completionTokens": 4
              },
              {
                "cost": 0,
                "type": "knowledge-base",
                "model": {
                  "model": "gemini-1.5-flash",
                  "provider": "google"
                },
                "promptTokens": 0,
                "completionTokens": 0
              }
            ],
            "endedAt": "2025-05-11T00:26:35.157Z",
            "summary": "The call was a job screening for a driving position with Bank of Transport. The applicant, Mbaba from Boston, confirmed having a valid Massachusetts driver's license, no recent tickets, willingness to complete a background check, ability to pass a drug test, and availability to work full-time Monday through Friday. The interviewer provided callback information and ended by saying they would review the application.",
            "analysis": {
              "summary": "The call was a job screening for a driving position with Bank of Transport. The applicant, Mbaba from Boston, confirmed having a valid Massachusetts driver's license, no recent tickets, willingness to complete a background check, ability to pass a drug test, and availability to work full-time Monday through Friday. The interviewer provided callback information and ended by saying they would review the application.",
              "successEvaluation": "true"
            },
            "artifact": {
              "messages": [
                {
                  "role": "system",
                  "time": 1746923033624,
                  "message": "Will’s call flow — $17/hr Bank‑Transport Driver (Massachusetts)\n\nStyle notes\n• Speak slowly, clearly, and warmly.\n• Ask one question at a time; pause for the caller’s reply.\n• If the caller is silent: “Take your time — I’m here when you’re ready.”\n• Do NOT end the call if the caller gives a disqualifying answer. Instead say:\n“Thanks for letting me know — that could be an issue because of our government contract, but let’s keep going so I have the full picture.”\n\n0. Opener — gauge interest\n“Hi! Are you interested in driving for our bank‑transport team?”\n\nIf “No,” politely end the call.\nIf “Yes,” continue.\n\n1. Up‑front disclaimer (before any other questions)\n“Great! Before we go further, I need to mention that because we work under a government agency:\n\nyou must have a valid driver’s license,\n\nyou must have no felony convictions, and\n\nyou must pass a drug test with zero tolerance — including marijuana.\n\nIf any of those are an issue, it could affect eligibility, but let’s go through a few questions so I have all the details. Is that okay?”\n\n(Proceed regardless of their answer; if they raise an issue, acknowledge with the “could be an issue” line and move on.)\n\n2 – 8. Application questions (ask one at a time)\nName & location\n“What’s your full name, and where do you currently live?”\n\nLicense status\n“Do you have a Massachusetts driver’s license that’s valid — not expired, suspended, or revoked?”\nIf the caller says anything other than a clear “yes,” respond with the standard acknowledgement and continue.\n\nTickets/accidents\n“Have you had any tickets or accidents in the last few years?”\nIf they have, acknowledge it may be an issue and continue.\n\nBackground‑check consent\n“Are you comfortable completing a background check?”\nIf not, acknowledge and continue.\n\nDrug‑test ability\n“Will you be able to pass a drug test, including testing negative for marijuana?”\nIf they can’t, acknowledge and continue.\n\nBest phone number\n“What’s the best phone number to reach you at?”\n\nAvailability\n“Are you available to work full‑time, Monday through Friday?”\nAgain, if answer is “no,” acknowledge and continue.\n\n9. Review & final disclaimer\n“Here’s what I have:\n• Name & location: {repeat}\n• License: {repeat}\n• Tickets/accidents: {repeat}\n• Background‑check consent: {repeat}\n• Drug‑test ability: {repeat}\n• Phone: {repeat}\n• Availability: {repeat}\n\nBecause we work under a government contract, items like license issues, felony convictions, or a positive drug test (including marijuana) can prevent us from hiring. Our team will review everything in detail. Does all that sound right?”\n\n(Make any corrections and reconfirm.)\n\n10. Closing\n“Thank you so much for your time! We’ll review your information and get back to you shortly.\n\n• Need a callback number? 604‑123‑4567\n• Prefer email? email@gmail.com\n\nHave a great day!”",
                  "secondsFromStart": 0
                },
                {
                  "role": "bot",
                  "time": 1746923035126,
                  "source": "",
                  "endTime": 1746923037766,
                  "message": "Hi. Are you interested in driving for Bank of Transport?",
                  "duration": 2640,
                  "secondsFromStart": 1.1999999
                },
                {
                  "role": "user",
                  "time": 1746923038705.9998,
                  "endTime": 1746923039106,
                  "message": "Yes.",
                  "duration": 400.000244140625,
                  "secondsFromStart": 4.7799997
                },
                {
                  "role": "bot",
                  "time": 1746923041866,
                  "source": "",
                  "endTime": 1746923063516,
                  "message": "Great. Before we go further, I need to mention that because we work under a government agency. You must have a valid driver's license, you must have no felony convictions, And must pass a drug test with 0 tolerance, including marijuana. If any of those are an issue, it could affect eligibility But let's go through a few questions. So I have all the details. Is that okay?",
                  "duration": 18320.001953125,
                  "secondsFromStart": 7.94
                },
                {
                  "role": "user",
                  "time": 1746923064435.998,
                  "endTime": 1746923064836,
                  "message": "Yes.",
                  "duration": 400.001953125,
                  "secondsFromStart": 30.509998
                },
                {
                  "role": "bot",
                  "time": 1746923066426,
                  "source": "",
                  "endTime": 1746923072286,
                  "message": "Thank you. Let's start with your name and location. What's your full name and where do you currently live?",
                  "duration": 4880,
                  "secondsFromStart": 32.5
                },
                {
                  "role": "user",
                  "time": 1746923073956.003,
                  "endTime": 1746923075876,
                  "message": "Imbab in Boston, Massachusetts.",
                  "duration": 1919.9970703125,
                  "secondsFromStart": 40.030003
                },
                {
                  "role": "bot",
                  "time": 1746923077406,
                  "source": "",
                  "endTime": 1746923085396,
                  "message": "Thank you, Mbaba. You have a Massachusetts driver's license that's valid not expired, suspended, or revoked?",
                  "duration": 6560,
                  "secondsFromStart": 43.48
                },
                {
                  "role": "user",
                  "time": 1746923086816,
                  "endTime": 1746923087136,
                  "message": "Yes.",
                  "duration": 320,
                  "secondsFromStart": 52.89
                },
                {
                  "role": "bot",
                  "time": 1746923088756,
                  "source": "",
                  "endTime": 1746923091376,
                  "message": "Have you had any tickets or in the last few years?",
                  "duration": 2160,
                  "secondsFromStart": 54.83
                },
                {
                  "role": "user",
                  "time": 1746923093035.997,
                  "endTime": 1746923093355.996,
                  "message": "No.",
                  "duration": 319.9990234375,
                  "secondsFromStart": 59.109997
                },
                {
                  "role": "bot",
                  "time": 1746923095796.003,
                  "source": "",
                  "endTime": 1746923097716,
                  "message": "Are you comfortable completing a background check?",
                  "duration": 1919.9970703125,
                  "secondsFromStart": 61.870003
                },
                {
                  "role": "user",
                  "time": 1746923098736,
                  "endTime": 1746923099056.005,
                  "message": "Yes.",
                  "duration": 320.0048828125,
                  "secondsFromStart": 64.81
                },
                {
                  "role": "bot",
                  "time": 1746923100386,
                  "source": "",
                  "endTime": 1746923104636.01,
                  "message": "Will you be able to pass the drug test? Including testing negative for marijuana?",
                  "duration": 3840.010009765625,
                  "secondsFromStart": 66.46
                },
                {
                  "role": "user",
                  "time": 1746923105956.01,
                  "endTime": 1746923106356,
                  "message": "Yes.",
                  "duration": 399.989990234375,
                  "secondsFromStart": 72.03001
                },
                {
                  "role": "bot",
                  "time": 1746923108336,
                  "source": "",
                  "endTime": 1746923110176,
                  "message": "What's the best phone number to reach you at?",
                  "duration": 1840,
                  "secondsFromStart": 74.41
                },
                {
                  "role": "user",
                  "time": 1746923111036,
                  "endTime": 1746923114796,
                  "message": "8 1 4 8 8 2 1 2 9 3.",
                  "duration": 3760,
                  "secondsFromStart": 77.11
                },
                {
                  "role": "bot",
                  "time": 1746923119666.005,
                  "source": "",
                  "endTime": 1746923123426,
                  "message": "Thank you. Are you available to work full time Monday through Friday?",
                  "duration": 3759.9951171875,
                  "secondsFromStart": 85.740005
                },
                {
                  "role": "user",
                  "time": 1746923124486.005,
                  "endTime": 1746923124886,
                  "message": "Yes.",
                  "duration": 399.9951171875,
                  "secondsFromStart": 90.560005
                },
                {
                  "role": "bot",
                  "time": 1746923126286,
                  "source": "",
                  "endTime": 1746923170116,
                  "message": "Here's what I have. Name and location, Mbaba in Boston, Massachusetts. License, valid Massachusetts driver's license. Tickets, accidents, no tickets, or accidents in the last few years. Background check consent. Comfortable completing a background check. Drug testability: able to pass a drug test including testing negative for marijuana. Phone, 8 1 4 8 8 2 1 2 9 3. Availability, available to work full time Monday through Friday, because we work under a government contract. Items like license issues, felony convictions, or a positive drug test, including marijuana, can prevent us from hiring. Our team will review everything in detail. Does all that sound right?",
                  "duration": 36799.965087890625,
                  "secondsFromStart": 92.36
                },
                {
                  "role": "user",
                  "time": 1746923171546,
                  "endTime": 1746923171865.99,
                  "message": "Yes.",
                  "duration": 319.989990234375,
                  "secondsFromStart": 137.62
                },
                {
                  "role": "bot",
                  "time": 1746923174216,
                  "source": "",
                  "endTime": 1746923192176,
                  "message": "Thank you so much for your time. We'll review your information. And get back to you shortly. If you need a callback, number, you can reach us at 6 0 4 1 2 3 4 5 6 7. Prefer email? You can contact us at email at gmail dot com. Have a great day.",
                  "duration": 16509.97998046875,
                  "secondsFromStart": 140.29
                }
              ],
              "recording": {
                "mono": {
                  "combinedUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-d34ad2bb-303f-4778-8413-b06c48edde4c-mono.wav",
                  "customerUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-6abf74d2-1ae3-4445-a846-06d7e5120766-mono.wav",
                  "assistantUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-dbe28abd-6cae-486c-a4e6-c769255e28c9-mono.wav"
                },
                "stereoUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-c8220f56-703c-4238-832f-712a112f72ac-stereo.wav"
              },
              "transcript": "AI: Hi. Are you interested in driving for Bank of Transport?\nUser: Yes.\nAI: Great. Before we go further, I need to mention that because we work under a government agency. You must have a valid driver's license, you must have no felony convictions, And must pass a drug test with 0 tolerance, including marijuana. If any of those are an issue, it could affect eligibility But let's go through a few questions. So I have all the details. Is that okay?\nUser: Yes.\nAI: Thank you. Let's start with your name and location. What's your full name and where do you currently live?\nUser: Imbab in Boston, Massachusetts.\nAI: Thank you, Mbaba. You have a Massachusetts driver's license that's valid not expired, suspended, or revoked?\nUser: Yes.\nAI: Have you had any tickets or in the last few years?\nUser: No.\nAI: Are you comfortable completing a background check?\nUser: Yes.\nAI: Will you be able to pass the drug test? Including testing negative for marijuana?\nUser: Yes.\nAI: What's the best phone number to reach you at?\nUser: 8 1 4 8 8 2 1 2 9 3.\nAI: Thank you. Are you available to work full time Monday through Friday?\nUser: Yes.\nAI: Here's what I have. Name and location, Mbaba in Boston, Massachusetts. License, valid Massachusetts driver's license. Tickets, accidents, no tickets, or accidents in the last few years. Background check consent. Comfortable completing a background check. Drug testability: able to pass a drug test including testing negative for marijuana. Phone, 8 1 4 8 8 2 1 2 9 3. Availability, available to work full time Monday through Friday, because we work under a government contract. Items like license issues, felony convictions, or a positive drug test, including marijuana, can prevent us from hiring. Our team will review everything in detail. Does all that sound right?\nUser: Yes.\nAI: Thank you so much for your time. We'll review your information. And get back to you shortly. If you need a callback, number, you can reach us at 6 0 4 1 2 3 4 5 6 7. Prefer email? You can contact us at email at gmail dot com. Have a great day.\n",
              "recordingUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-d34ad2bb-303f-4778-8413-b06c48edde4c-mono.wav",
              "stereoRecordingUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-c8220f56-703c-4238-832f-712a112f72ac-stereo.wav",
              "messagesOpenAIFormatted": [
                {
                  "role": "system",
                  "content": "Will’s call flow — $17/hr Bank‑Transport Driver (Massachusetts)\n\nStyle notes\n• Speak slowly, clearly, and warmly.\n• Ask one question at a time; pause for the caller’s reply.\n• If the caller is silent: “Take your time — I’m here when you’re ready.”\n• Do NOT end the call if the caller gives a disqualifying answer. Instead say:\n“Thanks for letting me know — that could be an issue because of our government contract, but let’s keep going so I have the full picture.”\n\n0. Opener — gauge interest\n“Hi! Are you interested in driving for our bank‑transport team?”\n\nIf “No,” politely end the call.\nIf “Yes,” continue.\n\n1. Up‑front disclaimer (before any other questions)\n“Great! Before we go further, I need to mention that because we work under a government agency:\n\nyou must have a valid driver’s license,\n\nyou must have no felony convictions, and\n\nyou must pass a drug test with zero tolerance — including marijuana.\n\nIf any of those are an issue, it could affect eligibility, but let’s go through a few questions so I have all the details. Is that okay?”\n\n(Proceed regardless of their answer; if they raise an issue, acknowledge with the “could be an issue” line and move on.)\n\n2 – 8. Application questions (ask one at a time)\nName & location\n“What’s your full name, and where do you currently live?”\n\nLicense status\n“Do you have a Massachusetts driver’s license that’s valid — not expired, suspended, or revoked?”\nIf the caller says anything other than a clear “yes,” respond with the standard acknowledgement and continue.\n\nTickets/accidents\n“Have you had any tickets or accidents in the last few years?”\nIf they have, acknowledge it may be an issue and continue.\n\nBackground‑check consent\n“Are you comfortable completing a background check?”\nIf not, acknowledge and continue.\n\nDrug‑test ability\n“Will you be able to pass a drug test, including testing negative for marijuana?”\nIf they can’t, acknowledge and continue.\n\nBest phone number\n“What’s the best phone number to reach you at?”\n\nAvailability\n“Are you available to work full‑time, Monday through Friday?”\nAgain, if answer is “no,” acknowledge and continue.\n\n9. Review & final disclaimer\n“Here’s what I have:\n• Name & location: {repeat}\n• License: {repeat}\n• Tickets/accidents: {repeat}\n• Background‑check consent: {repeat}\n• Drug‑test ability: {repeat}\n• Phone: {repeat}\n• Availability: {repeat}\n\nBecause we work under a government contract, items like license issues, felony convictions, or a positive drug test (including marijuana) can prevent us from hiring. Our team will review everything in detail. Does all that sound right?”\n\n(Make any corrections and reconfirm.)\n\n10. Closing\n“Thank you so much for your time! We’ll review your information and get back to you shortly.\n\n• Need a callback number? 604‑123‑4567\n• Prefer email? email@gmail.com\n\nHave a great day!”"
                },
                {
                  "role": "assistant",
                  "content": "Hi. Are you interested in driving for Bank of Transport?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Great. Before we go further, I need to mention that because we work under a government agency. You must have a valid driver's license, you must have no felony convictions, And must pass a drug test with 0 tolerance, including marijuana. If any of those are an issue, it could affect eligibility But let's go through a few questions. So I have all the details. Is that okay?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Thank you. Let's start with your name and location. What's your full name and where do you currently live?"
                },
                {
                  "role": "user",
                  "content": "Imbab in Boston, Massachusetts."
                },
                {
                  "role": "assistant",
                  "content": "Thank you, Mbaba. You have a Massachusetts driver's license that's valid not expired, suspended, or revoked?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Have you had any tickets or in the last few years?"
                },
                {
                  "role": "user",
                  "content": "No."
                },
                {
                  "role": "assistant",
                  "content": "Are you comfortable completing a background check?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Will you be able to pass the drug test? Including testing negative for marijuana?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "What's the best phone number to reach you at?"
                },
                {
                  "role": "user",
                  "content": "8 1 4 8 8 2 1 2 9 3."
                },
                {
                  "role": "assistant",
                  "content": "Thank you. Are you available to work full time Monday through Friday?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Here's what I have. Name and location, Mbaba in Boston, Massachusetts. License, valid Massachusetts driver's license. Tickets, accidents, no tickets, or accidents in the last few years. Background check consent. Comfortable completing a background check. Drug testability: able to pass a drug test including testing negative for marijuana. Phone, 8 1 4 8 8 2 1 2 9 3. Availability, available to work full time Monday through Friday, because we work under a government contract. Items like license issues, felony convictions, or a positive drug test, including marijuana, can prevent us from hiring. Our team will review everything in detail. Does all that sound right?"
                },
                {
                  "role": "user",
                  "content": "Yes."
                },
                {
                  "role": "assistant",
                  "content": "Thank you so much for your time. We'll review your information. And get back to you shortly. If you need a callback, number, you can reach us at 6 0 4 1 2 3 4 5 6 7. Prefer email? You can contact us at email at gmail dot com. Have a great day."
                }
              ]
            },
            "messages": [
              {
                "role": "system",
                "time": 1746923033624,
                "message": "Will’s call flow — $17/hr Bank‑Transport Driver (Massachusetts)\n\nStyle notes\n• Speak slowly, clearly, and warmly.\n• Ask one question at a time; pause for the caller’s reply.\n• If the caller is silent: “Take your time — I’m here when you’re ready.”\n• Do NOT end the call if the caller gives a disqualifying answer. Instead say:\n“Thanks for letting me know — that could be an issue because of our government contract, but let’s keep going so I have the full picture.”\n\n0. Opener — gauge interest\n“Hi! Are you interested in driving for our bank‑transport team?”\n\nIf “No,” politely end the call.\nIf “Yes,” continue.\n\n1. Up‑front disclaimer (before any other questions)\n“Great! Before we go further, I need to mention that because we work under a government agency:\n\nyou must have a valid driver’s license,\n\nyou must have no felony convictions, and\n\nyou must pass a drug test with zero tolerance — including marijuana.\n\nIf any of those are an issue, it could affect eligibility, but let’s go through a few questions so I have all the details. Is that okay?”\n\n(Proceed regardless of their answer; if they raise an issue, acknowledge with the “could be an issue” line and move on.)\n\n2 – 8. Application questions (ask one at a time)\nName & location\n“What’s your full name, and where do you currently live?”\n\nLicense status\n“Do you have a Massachusetts driver’s license that’s valid — not expired, suspended, or revoked?”\nIf the caller says anything other than a clear “yes,” respond with the standard acknowledgement and continue.\n\nTickets/accidents\n“Have you had any tickets or accidents in the last few years?”\nIf they have, acknowledge it may be an issue and continue.\n\nBackground‑check consent\n“Are you comfortable completing a background check?”\nIf not, acknowledge and continue.\n\nDrug‑test ability\n“Will you be able to pass a drug test, including testing negative for marijuana?”\nIf they can’t, acknowledge and continue.\n\nBest phone number\n“What’s the best phone number to reach you at?”\n\nAvailability\n“Are you available to work full‑time, Monday through Friday?”\nAgain, if answer is “no,” acknowledge and continue.\n\n9. Review & final disclaimer\n“Here’s what I have:\n• Name & location: {repeat}\n• License: {repeat}\n• Tickets/accidents: {repeat}\n• Background‑check consent: {repeat}\n• Drug‑test ability: {repeat}\n• Phone: {repeat}\n• Availability: {repeat}\n\nBecause we work under a government contract, items like license issues, felony convictions, or a positive drug test (including marijuana) can prevent us from hiring. Our team will review everything in detail. Does all that sound right?”\n\n(Make any corrections and reconfirm.)\n\n10. Closing\n“Thank you so much for your time! We’ll review your information and get back to you shortly.\n\n• Need a callback number? 604‑123‑4567\n• Prefer email? email@gmail.com\n\nHave a great day!”",
                "secondsFromStart": 0
              },
              {
                "role": "bot",
                "time": 1746923035126,
                "source": "",
                "endTime": 1746923037766,
                "message": "Hi. Are you interested in driving for Bank of Transport?",
                "duration": 2640,
                "secondsFromStart": 1.1999999
              },
              {
                "role": "user",
                "time": 1746923038705.9998,
                "endTime": 1746923039106,
                "message": "Yes.",
                "duration": 400.000244140625,
                "secondsFromStart": 4.7799997
              },
              {
                "role": "bot",
                "time": 1746923041866,
                "source": "",
                "endTime": 1746923063516,
                "message": "Great. Before we go further, I need to mention that because we work under a government agency. You must have a valid driver's license, you must have no felony convictions, And must pass a drug test with 0 tolerance, including marijuana. If any of those are an issue, it could affect eligibility But let's go through a few questions. So I have all the details. Is that okay?",
                "duration": 18320.001953125,
                "secondsFromStart": 7.94
              },
              {
                "role": "user",
                "time": 1746923064435.998,
                "endTime": 1746923064836,
                "message": "Yes.",
                "duration": 400.001953125,
                "secondsFromStart": 30.509998
              },
              {
                "role": "bot",
                "time": 1746923066426,
                "source": "",
                "endTime": 1746923072286,
                "message": "Thank you. Let's start with your name and location. What's your full name and where do you currently live?",
                "duration": 4880,
                "secondsFromStart": 32.5
              },
              {
                "role": "user",
                "time": 1746923073956.003,
                "endTime": 1746923075876,
                "message": "Imbab in Boston, Massachusetts.",
                "duration": 1919.9970703125,
                "secondsFromStart": 40.030003
              },
              {
                "role": "bot",
                "time": 1746923077406,
                "source": "",
                "endTime": 1746923085396,
                "message": "Thank you, Mbaba. You have a Massachusetts driver's license that's valid not expired, suspended, or revoked?",
                "duration": 6560,
                "secondsFromStart": 43.48
              },
              {
                "role": "user",
                "time": 1746923086816,
                "endTime": 1746923087136,
                "message": "Yes.",
                "duration": 320,
                "secondsFromStart": 52.89
              },
              {
                "role": "bot",
                "time": 1746923088756,
                "source": "",
                "endTime": 1746923091376,
                "message": "Have you had any tickets or in the last few years?",
                "duration": 2160,
                "secondsFromStart": 54.83
              },
              {
                "role": "user",
                "time": 1746923093035.997,
                "endTime": 1746923093355.996,
                "message": "No.",
                "duration": 319.9990234375,
                "secondsFromStart": 59.109997
              },
              {
                "role": "bot",
                "time": 1746923095796.003,
                "source": "",
                "endTime": 1746923097716,
                "message": "Are you comfortable completing a background check?",
                "duration": 1919.9970703125,
                "secondsFromStart": 61.870003
              },
              {
                "role": "user",
                "time": 1746923098736,
                "endTime": 1746923099056.005,
                "message": "Yes.",
                "duration": 320.0048828125,
                "secondsFromStart": 64.81
              },
              {
                "role": "bot",
                "time": 1746923100386,
                "source": "",
                "endTime": 1746923104636.01,
                "message": "Will you be able to pass the drug test? Including testing negative for marijuana?",
                "duration": 3840.010009765625,
                "secondsFromStart": 66.46
              },
              {
                "role": "user",
                "time": 1746923105956.01,
                "endTime": 1746923106356,
                "message": "Yes.",
                "duration": 399.989990234375,
                "secondsFromStart": 72.03001
              },
              {
                "role": "bot",
                "time": 1746923108336,
                "source": "",
                "endTime": 1746923110176,
                "message": "What's the best phone number to reach you at?",
                "duration": 1840,
                "secondsFromStart": 74.41
              },
              {
                "role": "user",
                "time": 1746923111036,
                "endTime": 1746923114796,
                "message": "8 1 4 8 8 2 1 2 9 3.",
                "duration": 3760,
                "secondsFromStart": 77.11
              },
              {
                "role": "bot",
                "time": 1746923119666.005,
                "source": "",
                "endTime": 1746923123426,
                "message": "Thank you. Are you available to work full time Monday through Friday?",
                "duration": 3759.9951171875,
                "secondsFromStart": 85.740005
              },
              {
                "role": "user",
                "time": 1746923124486.005,
                "endTime": 1746923124886,
                "message": "Yes.",
                "duration": 399.9951171875,
                "secondsFromStart": 90.560005
              },
              {
                "role": "bot",
                "time": 1746923126286,
                "source": "",
                "endTime": 1746923170116,
                "message": "Here's what I have. Name and location, Mbaba in Boston, Massachusetts. License, valid Massachusetts driver's license. Tickets, accidents, no tickets, or accidents in the last few years. Background check consent. Comfortable completing a background check. Drug testability: able to pass a drug test including testing negative for marijuana. Phone, 8 1 4 8 8 2 1 2 9 3. Availability, available to work full time Monday through Friday, because we work under a government contract. Items like license issues, felony convictions, or a positive drug test, including marijuana, can prevent us from hiring. Our team will review everything in detail. Does all that sound right?",
                "duration": 36799.965087890625,
                "secondsFromStart": 92.36
              },
              {
                "role": "user",
                "time": 1746923171546,
                "endTime": 1746923171865.99,
                "message": "Yes.",
                "duration": 319.989990234375,
                "secondsFromStart": 137.62
              },
              {
                "role": "bot",
                "time": 1746923174216,
                "source": "",
                "endTime": 1746923192176,
                "message": "Thank you so much for your time. We'll review your information. And get back to you shortly. If you need a callback, number, you can reach us at 6 0 4 1 2 3 4 5 6 7. Prefer email? You can contact us at email at gmail dot com. Have a great day.",
                "duration": 16509.97998046875,
                "secondsFromStart": 140.29
              }
            ],
            "assistant": {
              "name": "Baraka 3",
              "model": {
                "model": "gpt-4o",
                "messages": [
                  {
                    "role": "system",
                    "content": "Will’s call flow — $17/hr Bank‑Transport Driver (Massachusetts)\n\nStyle notes\n• Speak slowly, clearly, and warmly.\n• Ask one question at a time; pause for the caller’s reply.\n• If the caller is silent: “Take your time — I’m here when you’re ready.”\n• Do NOT end the call if the caller gives a disqualifying answer. Instead say:\n“Thanks for letting me know — that could be an issue because of our government contract, but let’s keep going so I have the full picture.”\n\n0. Opener — gauge interest\n“Hi! Are you interested in driving for our bank‑transport team?”\n\nIf “No,” politely end the call.\nIf “Yes,” continue.\n\n1. Up‑front disclaimer (before any other questions)\n“Great! Before we go further, I need to mention that because we work under a government agency:\n\nyou must have a valid driver’s license,\n\nyou must have no felony convictions, and\n\nyou must pass a drug test with zero tolerance — including marijuana.\n\nIf any of those are an issue, it could affect eligibility, but let’s go through a few questions so I have all the details. Is that okay?”\n\n(Proceed regardless of their answer; if they raise an issue, acknowledge with the “could be an issue” line and move on.)\n\n2 – 8. Application questions (ask one at a time)\nName & location\n“What’s your full name, and where do you currently live?”\n\nLicense status\n“Do you have a Massachusetts driver’s license that’s valid — not expired, suspended, or revoked?”\nIf the caller says anything other than a clear “yes,” respond with the standard acknowledgement and continue.\n\nTickets/accidents\n“Have you had any tickets or accidents in the last few years?”\nIf they have, acknowledge it may be an issue and continue.\n\nBackground‑check consent\n“Are you comfortable completing a background check?”\nIf not, acknowledge and continue.\n\nDrug‑test ability\n“Will you be able to pass a drug test, including testing negative for marijuana?”\nIf they can’t, acknowledge and continue.\n\nBest phone number\n“What’s the best phone number to reach you at?”\n\nAvailability\n“Are you available to work full‑time, Monday through Friday?”\nAgain, if answer is “no,” acknowledge and continue.\n\n9. Review & final disclaimer\n“Here’s what I have:\n• Name & location: {repeat}\n• License: {repeat}\n• Tickets/accidents: {repeat}\n• Background‑check consent: {repeat}\n• Drug‑test ability: {repeat}\n• Phone: {repeat}\n• Availability: {repeat}\n\nBecause we work under a government contract, items like license issues, felony convictions, or a positive drug test (including marijuana) can prevent us from hiring. Our team will review everything in detail. Does all that sound right?”\n\n(Make any corrections and reconfirm.)\n\n10. Closing\n“Thank you so much for your time! We’ll review your information and get back to you shortly.\n\n• Need a callback number? 604‑123‑4567\n• Prefer email? email@gmail.com\n\nHave a great day!”"
                  }
                ],
                "provider": "openai",
                "temperature": 0.5
              },
              "voice": {
                "voiceId": "Elliot",
                "provider": "vapi"
              },
              "server": {
                "url": "https://autoagent.website/webhook-test/351ffe7c-69f2-4657-b593-c848d59205c0",
                "timeoutSeconds": 20
              },
              "transcriber": {
                "model": "nova-3",
                "language": "en",
                "numerals": false,
                "provider": "deepgram",
                "endpointing": 300,
                "confidenceThreshold": 0.4
              },
              "firstMessage": "Hi. Are you interested in driving for Banka Transport?",
              "hipaaEnabled": false,
              "clientMessages": [
                "hang",
                "transfer-update",
                "transcript"
              ],
              "endCallMessage": "Goodbye.",
              "serverMessages": [
                "end-of-call-report",
                "transcript[transcriptType=\"final\"]"
              ],
              "voicemailMessage": "Please call back when you're available.",
              "startSpeakingPlan": {
                "waitSeconds": 0.4,
                "smartEndpointingPlan": {
                  "provider": "livekit",
                  "waitFunction": "20 + 500 * sqrt(x) + 2500 * x^3"
                },
                "transcriptionEndpointingPlan": {
                  "onNumberSeconds": 0.5,
                  "onPunctuationSeconds": 0.1,
                  "onNoPunctuationSeconds": 1.5
                }
              },
              "endCallFunctionEnabled": true,
              "backgroundDenoisingEnabled": false
            },
            "startedAt": "2025-05-11T00:23:55.829Z",
            "timestamp": 1746923200256,
            "durationMs": 159328,
            "transcript": "AI: Hi. Are you interested in driving for Bank of Transport?\nUser: Yes.\nAI: Great. Before we go further, I need to mention that because we work under a government agency. You must have a valid driver's license, you must have no felony convictions, And must pass a drug test with 0 tolerance, including marijuana. If any of those are an issue, it could affect eligibility But let's go through a few questions. So I have all the details. Is that okay?\nUser: Yes.\nAI: Thank you. Let's start with your name and location. What's your full name and where do you currently live?\nUser: Imbab in Boston, Massachusetts.\nAI: Thank you, Mbaba. You have a Massachusetts driver's license that's valid not expired, suspended, or revoked?\nUser: Yes.\nAI: Have you had any tickets or in the last few years?\nUser: No.\nAI: Are you comfortable completing a background check?\nUser: Yes.\nAI: Will you be able to pass the drug test? Including testing negative for marijuana?\nUser: Yes.\nAI: What's the best phone number to reach you at?\nUser: 8 1 4 8 8 2 1 2 9 3.\nAI: Thank you. Are you available to work full time Monday through Friday?\nUser: Yes.\nAI: Here's what I have. Name and location, Mbaba in Boston, Massachusetts. License, valid Massachusetts driver's license. Tickets, accidents, no tickets, or accidents in the last few years. Background check consent. Comfortable completing a background check. Drug testability: able to pass a drug test including testing negative for marijuana. Phone, 8 1 4 8 8 2 1 2 9 3. Availability, available to work full time Monday through Friday, because we work under a government contract. Items like license issues, felony convictions, or a positive drug test, including marijuana, can prevent us from hiring. Our team will review everything in detail. Does all that sound right?\nUser: Yes.\nAI: Thank you so much for your time. We'll review your information. And get back to you shortly. If you need a callback, number, you can reach us at 6 0 4 1 2 3 4 5 6 7. Prefer email? You can contact us at email at gmail dot com. Have a great day.\n",
            "endedReason": "customer-ended-call",
            "recordingUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-d34ad2bb-303f-4778-8413-b06c48edde4c-mono.wav",
            "costBreakdown": {
              "llm": 0,
              "stt": 0,
              "tts": 0,
              "vapi": 0,
              "total": 0,
              "ttsCharacters": 1815,
              "llmPromptTokens": 12315,
              "knowledgeBaseCost": 0,
              "llmCompletionTokens": 394,
              "analysisCostBreakdown": {
                "summary": 0,
                "structuredData": 0,
                "successEvaluation": 0,
                "summaryPromptTokens": 613,
                "summaryCompletionTokens": 83,
                "structuredDataPromptTokens": 0,
                "successEvaluationPromptTokens": 1391,
                "structuredDataCompletionTokens": 0,
                "successEvaluationCompletionTokens": 4
              },
              "voicemailDetectionCost": 0
            },
            "durationMinutes": 2.6555,
            "durationSeconds": 159.328,
            "stereoRecordingUrl": "https://storage.vapi.ai/124fd3f8-ce9e-4dfd-b48f-5cb586649945-1746923197663-c8220f56-703c-4238-832f-712a112f72ac-stereo.wav"
          }
        },
        "query": {},
        "params": {},
        "headers": {
          "host": "autoagent.website",
          "accept": "application/json, text/plain, */*",
          "cookie": "callId=124fd3f8-ce9e-4dfd-b48f-5cb586649945",
          "baggage": "sentry-environment=production,sentry-public_key=a0021577936aec367b16615ad816c078,sentry-trace_id=b8cbdaac923b451790555296492a988f",
          "x-real-ip": "18.237.231.234",
          "connection": "upgrade",
          "user-agent": "axios/1.8.3",
          "traceparent": "00-e239a291fc613f92ddd5458703f20644-7db78402d70aea06-00",
          "content-type": "application/json",
          "sentry-trace": "b8cbdaac923b451790555296492a988f-991af3df7066242e",
          "x-vapi-secret": "",
          "content-length": "38329",
          "accept-encoding": "gzip, compress, deflate, br",
          "x-forwarded-for": "18.237.231.234",
          "x-forwarded-proto": "https"
        },
        "webhookUrl": "https://autoagent.website/webhook-test/351ffe7c-69f2-4657-b593-c848d59205c0",
        "executionMode": "test"
      }
    ]
  },
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Evaluate Candidate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to JSON": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Evaluate Candidate",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Evaluate Candidate": {
      "main": [
        [
          {
            "node": "Convert to JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Convert to JSON",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Convert to JSON",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 人力资源, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量12
分类2
节点类型7
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

外部链接
在 n8n.io 查看

分享此工作流