IF flow logic (paying for help)
# support
e
Hello, I need to understand how can I make the prompt or flow to ask for missing details in 100% of the cases? Basically I am sending the variables from Make to VAPI, and altough I put in VAPI Prompt that it should ask for details, it doesn't do it in 100% of the cases. Can pay for solution..
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
v
To ensure Vapi always asks for missing details, define each variable as required in your Gather node and use explicit prompts for each. For example:
Copy code
yaml
variables:
  - name: email
    description: "Customer's email address"
    type: string
    required: true
prompt: |
  Please provide your email address so I can proceed.
This setup will prompt the user every time the detail is missing, ensuring 100% coverage. Adjust the prompt and variable names as needed for your flow. Tip: Use clear descriptions and validation prompts for each required field to avoid skipped questions. (See: [Vapi Gather Node documentation](https://docs.vapi.ai/workflows/nodes/gather#configuration)) Sources: - [Gather Node Documentation](https://docs.vapi.ai/workflows/nodes/gather#configuration) - [Prompting Guide](https://docs.vapi.ai/prompting-guide)
g
I have solved a similar issue on this, If you are ready i could solve that for you.
a
Add a sample conversation to your prompt making sure the LLM asks for every variable, it tends to follow sample conversations better just than telling it to get certain variables
o
@Ecom Guy Have you gotten a solution to this yet.
c
Hey, Could you provide the call ID where you experienced this issue? We want to review the logs to identify the cause. Also, please share: - The exact timestamp of when this happened - The response you expected to get - The response you actually received This information will help us figure out what went wrong.
4 Views