Couldn't Get Assistant
# support
t
HTTP json is below, the {{32.customData.PhoneNumber}} and {{32.customData.FirstName}} are webhook fields, however I have no webhook data because the output message is: inboundPhoneCallDebuggingArtifactsCollection error Couldn't Get Assistant. Either Set The Assistant I D On The Phone Number. Or, To Debug Your Assistant Request, Check The Debugging Artifacts That Were Just Sent To Your Server. assistantRequestError Invalid Assistant. Errors: squad.property phone_number_id should not exist,squad.property squad should not exist,squad.members must be an array HTTP JSON { "phoneNumberId": "{{2.phone_number_id}}", "customer": { "number": "+1{{32.customData.PhoneNumber}}, "name": "{{32.customData.FirstName}}", "extension": "" }, "squadId": "{{2.squad_id}}" } https://cdn.discordapp.com/attachments/1269792927484477493/1269792927807442995/image.png?ex=66b15a51&is=66b008d1&hm=39d7d662c00623b703ef81d336f87c5c839d44b31b22277c3af92af237867dbe& https://cdn.discordapp.com/attachments/1269792927484477493/1269792928155439246/image.png?ex=66b15a51&is=66b008d1&hm=7d10a0aadd37104c1a3ba672a8cd97b6d07fb4663bf779151c3c7e5733569807& https://cdn.discordapp.com/attachments/1269792927484477493/1269792928436584468/image.png?ex=66b15a51&is=66b008d1&hm=a1f937afae4f46b353ab4f8eac7363af265a123418e17bb54475da5082c4fb05& https://cdn.discordapp.com/attachments/1269792927484477493/1269792928700694580/image.png?ex=66b15a51&is=66b008d1&hm=dbe0e4dc2ec4f3830221432d58eec1d97c33f3c5f8828e0fabda6c07090faf76& https://cdn.discordapp.com/attachments/1269792927484477493/1269792928910413914/image.png?ex=66b15a51&is=66b008d1&hm=292b624a914ca7ce204ff6420de6550c3cb20984d99effe807e2aa53fd612671&
I'm not sure what I'm doing incorrectly. Please advise. Thank you Tools module { "phone_number_id": "69b81b4b-65fd-4c12-9962-3501cb96882a", "squad": { "members": [ { "assistantId": "95f52c41-cdd7-47a0-9e4e-235e6486a858", "assistantDestinations": [ { "type": "assistant", "assistantName": "Customer Service Assistant", "message": "Please hold on while I transfer you to our live customer service team.", "description": "If the customer needs help with an auto glass replacement or repair for their vehicle." } ] }, { "assistantId": "f1d012a9-9769-4121-841a-f81ed34a0488", "assistantDestinations": [ { "type": "assistant", "assistantName": "Receptionist", "message": "Give me a moment to transfer you back to our receptionist agent.", "description": "If the customer has questions unrelated to booking an appointment for an auto glass replacement or reoair for their vehicle." } ] } ] } }
v
@Tarek Maximus It seems like there's an issue with the JSON payload you're trying to send. The error message indicates that there are some invalid properties and missing values. Let's correct the JSON format: 1. Ensure that
phoneNumberId
is set to the actual ID of your registered phone number, not a placeholder. 2. The
customer
object should have valid data for
number
and
name
, replacing placeholders with actual data. 3. The
squadId
should also be replaced with an actual squad ID if required by your API, or removed if not applicable. Here's an example of what the corrected JSON might look like:
Copy code
json
{
  "phoneNumberId": "your-phone-id",
  "customer": {
    "number": "+11234567890",
    "name": "John",
    "extension": ""
  },
  "squadId": "your-squad-id"
}
Please replace
"your-phone-id"
and
"your-squad-id"
with the actual IDs from your dashboard, and the customer's phone number and name with their real information. If you're unsure about the correct values for these fields or how to proceed, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
c
what are you trying to do?
t
2 member squad. The webhook is server url at organisation level which calls the assigned number. Every YT video I follow doesn’t work, content is heavily edited and templates shared don’t work.
c
Have you tried using the API?
c
I meant creating the squad with api in the backend
You mean this?
t
Ha the postman never returns a 201 even when json is clean and everything is copy pasted
c
I am going to take that as a no then. You should create it on that page.
t
and add the body where in make?
I created squad in dashboard
This is mad confusing
c
😪
So lets take it from the top.....give me a minute.
You are using the dashboard and templates which are not working. I am suggest you use the actual VAPI API to create your squad. It is like postman but VAPI interface (backend) (not the frontend) and it will work. And you can go put that any.
c
Please watch this then come back

https://youtu.be/Numy2pvSjRo?si=34oDZ6rnVEWLftUB

t
Tried many, all don't work, this was the last one and I got stuck, tried everything but can't get same result as video and continue with the build Your video doesn't mention squads and uses depprecateed functions so can't send sample payload data. https://www.loom.com/share/7af0ec099db246b6b17c95f7a3bd107e?sid=e33eeca3-bb54-4fde-94cb-72e1381d813d

https://www.youtube.com/watch?v=V308U_5syiA&t=1610s

I just need a member to be a spam filter and transfer call if valid lead
The only template video to have ever worked from start to finish is Brendan's last google calendar booking, the damn thing actually worked, everything else has not been helpful because despite following exact steps not getting same result
Webhook says cant get assistant but the webhook has all the data, just like in the loom where postman kept returning ''assistant not found'' even though it does exist. When he calls the number he gets the webhook data to map out in the http request. My scenario fails at the webhook passes all the variables from the webhook to http where it fails though, makes no sense https://cdn.discordapp.com/attachments/1269792927484477493/1269888081264119818/image.png?ex=66b1b2ef&is=66b0616f&hm=6b43045b881cf839f5fbe5c873d2cb4d3dcb86e956a388c139897b47a792e5ca& https://cdn.discordapp.com/attachments/1269792927484477493/1269888081536880731/image.png?ex=66b1b2f0&is=66b06170&hm=366646bb92f630cb31bae47bc3842d8d429e014b43d883e494ab3043a9b9a1a8& https://cdn.discordapp.com/attachments/1269792927484477493/1269888081855512576/image.png?ex=66b1b2f0&is=66b06170&hm=99a41b4ac4869f9352acfc5cd331681ff7c6b8853af0ae3d108939e31c6d4762&
c
I am just asking you to do one thing you have not done yet. i am not sure what else to really not say.
i have not watched any of those videos. I have no clue what they did.
I know if you use the VAPI api backend it is going to work for sure.
t
ok I'll watch it. Thank you
c
I am talking about call endpoint but same applies to squads.
I have not made a video on squads yet. When I do it will be an actual MVP. I'll let you know.
t
This is an in depth video for squads, unfortunately my postman request which is exactly same as video walkthrough is invalid, I removed 2 members and it passed but next request step failed

https://www.youtube.com/watch?v=V308U_5syiA&t=1610s

Boldly going nowhere
c
if it was not with api backend pointless in my opinion. When you get that that vid will make more sense I am the API advocate
e
@Tarek Maximus i couldshare my experience. When linking phone numbers to sqaud using make you have to be sure that at the end of make.com scenario you are able to respnd back to the serverurl the sqaud id
the video of ibrahim is helpful but this part is not mentioned
t
Thank you
c
just sent you a message.
s
@Tarek Maximus is reolved for you now?
8 Views