Here are 110 Templates to help you get
# general-english
c
Here are 110 Templates to help you get inspired and jumpstart you in VAPI. You can find: 1. First Message 2. System Prompt (This is just a small version it will updated later) - Yes it follows VAPI prompting but feel free to change. 3. You can find JSON for Inbound & Outbound. You can also find JSON for pinging your server. 4. Soon you will be able to fill out a form or talk to a Voice Assistant that creates a voice assistant in the library. 5. I will probably add tools later. https://aitable.ai/embed/emb27c4cba4f5967253/dstUW72XidSLSNngDu/viwpcN4o9OzUd
@kilnem_wine just grab the JSON from here.
k
when you click on the outbound json its empty,
c
Please look at the top of the list...
k
ok i found it, however nothing in that will let me assign the assistants id in order to ensure that it uses that assistant. However I could recreate the assistant based on te settings I use and send them each time with the json. I however assumed I could just assign the assistant as I have documents that I have attached to the assistant that I would like it to be able to reference.
unless i'm wrong and missed it somehow
also I think the json is out of date as when i Include "backgroundSound": "office", i get errors that this should not exist.
c
You don't need to put the assistantID and it will still work.
@whapy Entire JSONs for you here.
k
so I tested that however it has no idea about the documents that are attached to the assistant
w
Thanks
c
Your right, I did not add that do that the JSON. I will update it later. To have that.
k
ok great, other than that it works great.
c
1. This JSON is not out of date at all. All I use is the API and I keep up with it pretty often. 2.It seems you are unfamiliar with what a transient assistant is. You can have all of that. i just forgot the FileID. KB has had problems so I did not attach.
k
we are going to be using this to make a large number of calls btw, its going to be calling people to let them know about overdue balance on their accounts. I noticed that i have no way to provide a large list, eg: including multiple customers in the json sent for outbound calls. we can deal with that its not a problem however do you think it would be ideal to pace the amount of calls we have going out ?>?
no your json is correct I just finished a test of the json in that document so that was my error. I needed to set the value as "off" that resolved; your api returns details on the errors so worked great
c
You would do that from the CRM. VAPI has no information of that. You would have needed the JSON anyway. You can't do that in the dashboard. Also if you want to "scale" calls you need an Enterprise account. Your limit is 10 calls at a time.
k
oh yes; i know but I could structure something like "customer": { "number": "+14165554444", }
and include a message, would make things easier however we will be able to build in the requests, to pace things without an issue.
c
No that is wrong. 1. That is not where you would put that information. 2. Just the name and number go there. 3. ALl other information goes in your system propmt and first message.
k
yes i know, its wrong
I'm suggesting this would be a nice way to handle multiple outbound calls { "customers": [ { "number": "+14165554444", "message": "Your payment is due. Please let us know when you plan to make the payment." }, { "number": "+14165553333", "message": "Your payment is overdue. Kindly update us on your payment status." }, { "number": "+14165552222", "message": "Please note, your payment is pending. When can we expect the payment?" } ] }
c
No, that is wrong.
You don't do that in the JSON at all.
k
yes i know.
I'm suggesting that this would be a nice way to do it rather than handle the schedule on our side.
c
It would not.
You are using what as a list?
k
its not a problem, we can schedule all the calls, would just be easier with my suggestion from our side
c
I am not sure if you mean like a feature. Even so VAPI does not do any of that. You trigger everything. Depending on where you have the data and what that can do. You can trigger whenever and however.
k
yes i know,
do you know when this will be added ?
c
Possibly later today. Tomorrow.
k
ok great; you are amazing
that will be great so it will understand documents attached to assistant and the voicemail requirements etc, thanks again
c
You can test it now. I added it. Just confrim from me it pulls. If you KB does not work that is VAPI.
k
omg,
so i can just add assistantId to json and its good.
c
I do not use AssistantID's. Every I put out is Transient. Once again if you do not understand what that means I would read the VAPI docs. Configure everything like you would in the dashboard. It will work the exact same.
k
your talking about the following no?
Copy code
{
  "squad": {
    "members": [
      {
        "assistant": {
          "name": "Emma",
          "model": {
            "model": "gpt-4o",
            "provider": "openai"
          },
          "voice": {
            "voiceId": "emma",
            "provider": "azure"
          },
          "transcriber": {
            "provider": "deepgram"
          },
          "firstMessage": "Hi, I am Emma, what is your name?",
          "firstMessageMode": "assistant-speaks-first"
        },
        "assistantDestinations": [
          {
            "type": "assistant",
            "assistantName": "Mary",
            "message": "Please hold on while I transfer you to our appointment booking assistant Mary.",
            "description": "Transfer the user to the appointment booking assistant."
          }
        ]
      },
      {
        "assistantId": "your-assistant-id"
      }
    ]
  },
  "customer": {
    "number": "your-phone-number"
  },
  "phoneNumberId": "your-phone-number-id"
}
with my "assistantId": "your-assistant-id"
c
I am not sure how to explain it any simpler, my apologies. You do not need you assistantID whatsoever. You will never see it in anything I put out. If you replace the information with what you want it will work 100 percent.
k
so in other words I rewrite the full assistant to be included in the json data for each request,
c
You don't need to rewrite anything. Just take what you have in the dashboard and put it in first message and sytem prompt. Same for voice and etc.
k
this is in your documentation
Outbound Calls You can place an outbound call from one of your phone numbers using the /call/phone endpoint. If the system message will be different with every call, you can specify a temporary assistant in the assistant field. If you want to reuse an assistant, you can specify its ID in the assistantId field.
c
1. I do not work for VAPI. 2. The only documentation I have is for my creation: MyVAPI (once again. I do not work for VAPI). https://docs.vapi.ai/community/myvapi 3. If you want the system message to be different for EVERY call (which is kinda of wild) you would would def not have an ID. You would have some crazy filters set up and an automation that does all of that. (Something like the GPT)
w
@kilnem_wine My use case also involve custom system messages for each call, I set it up using temporary assistants like you mentioned in your last message. I think I got it working, if you have any questions I'm open. I also need to send massive amounts of calls so I'm going to have to solve that as well.
c
@Jose - AIpreneurs grab a JSON. Same thing as docs. Just change the information.
266 Views