This is make.com Scenarios
==> https://drive.google.com/file/d/1N6atMeW3ztjtNl3JXjCw1C9QqWs9ciOJ/view?usp=sharing
You might want to read these notes….
Inbound Calling
β just create your squad inside vapi, copy the the squadID and update the phone number with the ID, you will recieve inbound calls to squad
β You need phone number id to refference to specific phone number
Outbound calling
β Use (create A call ) APi endpoint and pass your squad Id, phone Number Id, customer number, and , now you can make outbound calls with your squad.
Inbound squad with Dynamic Variables
β It means to recieve calls to your squads with dynamic variables that you can use inside your static assistant. These assistants are the members of the squad.
for example
Hey {{name}}, how are you today
=β> this name will be replaced with whatever value you pass in the name variable inside assistnatOverrides object through variable values.
assistantOverride Object
assistantOverrides{
variableValues{
"name": "putin",
}
}
how to use this method
<aside> π‘
To use this method You must not have any assistant attached to inbound calls, goto phone numbers and remove all the assistants from inbound calls, Then create a webhook in make.com and put the URL in ServerURl in the settings,
After that we need to,
- Create assistnats inside dashboard
- Create squad inside the dashboard and Use Get Api Endpoint to To get all the Json copy this json
- Use http module/Make Request , call the updateSquad Api endpoint, Past the json in the body.
- pass assistantOverrides object to every assistant inside the squad
- now exclude ( id, orgId, createdAt, updatedAt, from the output of this module and pass this Json data to webhook response as =β βsquadβ JsonDataHere
- now you wil recieve inbound calls to this squad. </aside>
OutBound Call with Dynamic variables
Use create call api Endpoint to make Create json structure for outbound call with squads.
Use assistants idβs and their destinations.
Top-Level Object
βββ members (Array of Member Objects)
βββ Member Object
β βββ assistantId (Unique Identifier)
β βββ assistantOverrides (Custom Settings)
β βββ variableValues (Your variables )
β β βββ Example Pair:
β β βββ "name" : "jhoni jannan"
β βββ assistantDestinations (Array of Destinations)
β β βββ Destination Object
β β β βββ message (Text to Display)
β β β βββ description (Description of Action)
β β β βββ type (Type of Destination)
β β β β βββ Example: "assistant"
β β β βββ assistantName (Name of Destination Assistant or Department)
β βββ (Repeat for Each Member Object)
Now you can do outbound call Using squads with this json,.
This is zehaan, I love automating repetitive tasks with Ai.
ur a g, thanks bro