Issue with Conversation Flow
# support
c
The agent does not continue the conversation after the first message and requires the person it contacts to respond in order to proceed. Additionally, the agent will be connected to the prospects I receive from Facebook via the Make.com platform. How can I configure the agent to automatically use and address the prospect by name, as received from Make.com, in the conversation? assistant ID : bd987f08-e1b0-4a86-9486-557d0dea73a7 the call ID : 6658fbcb-dc97-43f6-8bab-984ffc23a646

the timestamp : 0.05
 I WANT HIM TO KEEP TALKING AFTER SAYING THE FIRST MESSAGE NOW HE STOPS AS SOON AS HE SAYS THE FIRST MESSAGE how can I add a variable to the prompt for the client name I receive from facebook?

Thank you in advance for your assistance.
a
Heycoco Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
message has been deleted
@coco To configure the agent to automatically use and address the prospect by name as received from Make.com, you can utilize dynamic variables in the conversation. Here's how you can set it up: 1. In your VAPI configuration, you will need to set up a system to receive the prospect's name from Make.com. This typically involves setting up a webhook or API integration that can capture the prospect's details when they are received from Facebook. 2. Once you have the prospect's name, you can pass it to the VAPI as a dynamic variable. You would use the
assistantOverrides
with
variableValues
to set the name dynamically for each call. Here's an example of how you might structure the payload:
Copy code
json
{
  "variableValues": {
    "name": "ProspectNameFromMake" // Replace ProspectNameFromMake with the actual variable containing the prospect's name
  }
}
3. To ensure the agent keeps talking after the first message, you will need to adjust the conversation flow in your VAPI script. This might involve setting up additional prompts or logic that triggers the next part of the conversation automatically, without waiting for a response from the prospect. 4. If you have a specific script or set of messages you want the agent to follow, you can incorporate conditions and branching to handle different scenarios and keep the conversation going. 5. Update the initial message in the script to include the dynamic variable for the client's name. For example, if your initial message is "Hello, {{name}}!", the agent will use the name provided in the
variableValues
. If you need assistance with the specific implementation details or if you encounter any issues, please ask support for more info on this. They can guide you through the process and help ensure that your agent is configured correctly to interact with prospects as intended.
You can continue this conversation by mentioning me in the message.
c
i've tried to adjust the vapi script so that the agent continues to speak after saying the first message but it doesn't work. i had this problem before 3 days ago. i know what happened. is there another way to check the error?
for the variable I've managed to configure it. thanks
s
> I WANT HIM TO KEEP TALKING AFTER SAYING THE FIRST MESSAGE NOW HE STOPS AS SOON AS HE SAYS THE FIRST MESSAGE @coco This is how turn-taking behavior operates, the user must provide input in order for it to be processed by the assistant for the subsequent response. > how can I add a variable to the prompt for the client name I receive from facebook?

Thank you in advance for your assistance. To tailor the call experience according to the leads' data, please refer to this documentation on utilizing dynamic variables to customize each call.https://bajajcodes.notion.site/Setting-Up-Dynamic-Variables-for-Your-Vapi-Calls-A-Quick-Guide-14077ff426238037b101f91a446f7f6a?pvs=4
c
okk, thank you
I have another problem with the make.com script. You can see it on the pictures I'm going to send you as an attachment.
before it was working fine just a couple of hours ago it displayed this
The first photo is a mistake. I didn't mean to send it.
s
@coco can you share the complete error response?