Send and Request Data With Webhooks With AI Studio

Vonage AI Studio is a Low-Code / No-Code conversational AI platform that helps businesses handle complex customer interactions through voice and text. As you begin to create virtual agents with AI Studio, it won’t take long before you’ll need to retrie…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Michael Crump

Vonage AI Studio is a Low-Code / No-Code conversational AI platform that helps businesses handle complex customer interactions through voice and text. As you begin to create virtual agents with AI Studio, it won't take long before you'll need to retrieve data from a third-party source such as a Webhook. In this blog post, you'll learn:

  • How to retrieve data from a Webhook in AI Studio from a REST Endpoint
  • How to store the data as a parameter (for later use)
  • Examples of conditional statements to perform operations with the data

In order to understand how to interact with a Webhook in AI Studio, we'll use a scenario in which a bank would like to validate a customer's identity by matching a pin number with the number retrieved from a Webhook. The payload might look like the following:

[
  ...
  {
    "id": 4,
    "email": "michael.crump@vonage.com",
    "phone": "14259999999",
    "name": "Michael Crump",
    "cc_balance": "76.31",
    "pin": "1234"
  }
]

Once the customer dials the Bank's phone number, we'll use the phone number to look up the correct value for the pin via this Webhook.

To continue reading the full article, please click here

Conclusion

If you have questions or feedback, join us on the Vonage Developer Slack or send me a Tweet on Twitter, and I will get back to you. Thanks again for reading, and I will catch you on the next one!


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Michael Crump


Print Share Comment Cite Upload Translate Updates
APA

Michael Crump | Sciencx (2022-11-29T17:55:17+00:00) Send and Request Data With Webhooks With AI Studio. Retrieved from https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/

MLA
" » Send and Request Data With Webhooks With AI Studio." Michael Crump | Sciencx - Tuesday November 29, 2022, https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/
HARVARD
Michael Crump | Sciencx Tuesday November 29, 2022 » Send and Request Data With Webhooks With AI Studio., viewed ,<https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/>
VANCOUVER
Michael Crump | Sciencx - » Send and Request Data With Webhooks With AI Studio. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/
CHICAGO
" » Send and Request Data With Webhooks With AI Studio." Michael Crump | Sciencx - Accessed . https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/
IEEE
" » Send and Request Data With Webhooks With AI Studio." Michael Crump | Sciencx [Online]. Available: https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/. [Accessed: ]
rf:citation
» Send and Request Data With Webhooks With AI Studio | Michael Crump | Sciencx | https://www.scien.cx/2022/11/29/send-and-request-data-with-webhooks-with-ai-studio/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.