How to grab customer phone from messages in tools?
# support
f
How to grab customer phone from messages in tools? It's not clear how to do this. Please break it down into simple, basic steps that someone who isn't a developer can understand and follow. @Vapi
Please help @Vapi
v
@frank Certainly! To extract a customer's phone number from messages using a tool, you would typically follow these steps: 1. **Access the Tool**: First, you need to access the tool that is designed for extracting information from messages. This could be a feature within your Voice API platform or a separate software tool that specializes in data extraction. 2. **Input the Message**: Once you have access to the tool, you need to input the message that contains the phone number. This could be done by copying and pasting the message into the tool, or the tool might automatically access messages if it's integrated with your messaging platform. 3. **Specify What to Extract**: Some tools may require you to specify what type of information you want to extract. In this case, you would indicate that you're looking for a phone number. 4. **Run the Extraction**: With the message inputted and the extraction type set to 'phone number', you would run the tool. This is often as simple as clicking a 'run', 'extract', or 'search' button. 5. **Review the Results**: After the tool has processed the message, it should provide you with the extracted phone number. Review the results to ensure the correct information was retrieved. 6. **Use or Store the Phone Number**: Finally, you can use the extracted phone number as needed, such as saving it to your contacts or using it to reach out to the customer. If you're looking for a specific function within the VAPI platform to perform this task, please provide more details or clarify if there is a particular tool you are referring to. If such a function exists, I can guide you on how to use it. If not, you might need to use a third-party service or ask for more information from support.
@frank Certainly! To grab a customer's phone number from messages using the tools provided, you would typically follow these basic steps: 1. **Access the Messages**: First, you need to access the messages where the customer's phone number might be mentioned. This could be in the structured data if the phone number was collected through a form or directly from the message content. 2. **Identify the Phone Number**: Once you have access to the messages, you need to look for a pattern that matches a phone number. Phone numbers usually have a specific format, such as a country code followed by the actual number. 3. **Extract the Phone Number**: After identifying the phone number, you would extract it from the message. This might involve copying the number or using a tool that can automatically detect and pull out phone numbers from text. 4. **Store or Use the Phone Number**: Finally, once you have the phone number, you can store it for future reference or use it immediately for whatever purpose you need, such as making a call or sending a text message. Since you're using VAPI, you might have specific tools or functions designed to help with this process. If you can provide more details about the tools at your disposal or the format of the messages, I could give you more tailored instructions. If you're unsure about the tools or how to proceed, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
s
@frank checkout this document on setting up dynamic variables, now when Vapi will send request to your server for tool call(in-doc-context) you also get the call object as payload. Inside call object you will find the phone number required. https://www.notion.so/vapi/Setting-Up-Dynamic-Variables-for-Your-Vapi-Calls-A-Quick-Guide-140008c8393f8057ac24db4089edc466
Do let me know if you require further help.
3 Views