yummy-tealY
VAPI5mo ago
yummy-teal

Web Chat Prompt

Hello, please give me a sample prompt for vapi agent to determine if the customer is from chat, phone call or web call?

I have tried prompts such as:

Check the metadata field mode:
  • If mode is "voice":
    • Call function
  • If mode is "chat", do not call the tool.
  • Ask phone number
But it does not seem to work, vapi agent can't recognize if customer is comming from a chat or call.

Please help, thanks
Was this page helpful?