Vapi Function Integration Secret Token Issue
# support
c
Hello, I am trying to integrate a function to Make webhook. 1. When I select "Custom Tool" and enter the Server URL and Secret Token, the fields become empty after creation. 2: If I choose Make as part of tool integration, how does the validation of secret token work? please advise.
v
@cyflex Hello! It's great to hear that you're working on integrating a webhook function. Let's address your concerns: 1. If the fields become empty after creation when using the "Custom Tool," it might be a glitch or an issue with the tool's interface. Please ensure that you are saving the configuration correctly after entering the Server URL and Secret Token. If the problem persists, it could be helpful to clear your browser cache or try a different browser to see if the issue is resolved. If none of these steps work, please ask support for more info on this. 2. When you choose Make as part of the tool integration and need to validate the secret token, the validation process typically involves comparing the received token with the one you've configured. This is usually done programmatically within your webhook handler. When Make sends data to your webhook, it will include the secret token, and your server should have logic to check if the received token matches the expected one. If they match, you proceed with handling the webhook data; if not, you reject the request. If you need further assistance with the validation process or have any more questions, feel free to ask!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@cyflex you have to add make credentials first to add make tool.
c
@User Can you elaborate? where and how do I create credentials
If I provide a custom credentials, does it not save in the Custom Tool where there's an input field for Server Secret?
s
1. first add make credentials 2. then try creating tool
3. custom tool: when you click on server url server secret will be visible
c
I don't really understand what you mean by add credentials. This prompt is asking for Webhook URL. Where do I add the credentials? https://cdn.discordapp.com/attachments/1264301226389016697/1265314920354811957/make_screenshot.png?ex=66a10fd9&is=669fbe59&hm=fc273f931eba0428d4fc50be1c0fd66aea0709b911b2e6280f9274d952113a2b&
s
go to your org > provider credentials
10 Views