Need to connect multiple text parsers into one sen...
# support
t
So I receive from a webhook a single message with eg( name, phone number, email, etc) so from that I need to extract those from the single message, so I made a text parser containing all of those but I need help trying to connect multiple text parsers into one send gmail, how do I do it.
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
t
URGENT
v
I can help you set up a system that takes your single webhook message, uses multiple text parsers to accurately extract fields like name, phone number, and email, and then automatically sends the structured data via Gmail. We can also ensure the parsers work together efficiently, so no data gets missed or duplicated. To tailor the setup, could you clarify if the message format is consistent or varies each time? @timur_332
c
Option 2: [Make.com](http://Make.com) Integration If you prefer to use an automation platform like [Make.com](http://Make.com) (formerly Integromat), you can send the parsed variables directly to a webhook and let Make handle the email sending logic:
Copy code
json
{
  "name": "sendEmailViaMake",
  "type": "make",
  "triggerHook": "https://hook.us1.make.com/your-webhook-id",
  "steps": [
    {
      "type": "function",
      "function": {
        "name": "extractContactInfo",
        "parameters": {
          "type": "object",
          "properties": {
            "fullMessage": {
              "type": "string",
              "description": "The complete message to parse"
            }
          }
        }
      }
    }
  ]
}
Both options will let you combine multiple text parsers into one structured send-and-email process. If you share how your webhook and parsers are currently structured, I can show you the exact linking steps next. Best, Kyle
Hi Timur, You can approach this in two ways depending on how you want to manage the email sending flow: Option 1: Custom Function (Recommended) Create a custom function that receives all parsed values as parameters and sends the email directly. This is cleaner and easier to maintain long-term.
Copy code
{
  "model": {
    "provider": "openai",
    "model": "gpt-4",
    "functions": [
      {
        "name": "sendEmail",
        "description": "Sends an email with the collected contact information",
        "parameters": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "The person's name extracted from the message"
            },
            "phoneNumber": {
              "type": "string",
              "description": "The phone number extracted from the message"
            },
            "email": {
              "type": "string",
              "description": "The email address extracted from the message"
            },
            "message": {
              "type": "string",
              "description": "Additional message content"
            }
          },
          "required": [
            "name",
            "email"
          ]
        },
        "url": "https://your-server.com/send-parsed-email",
        "method": "POST"
      }
    ]
  }
}
2 Views