Integrate YourGPT with Zapier
Before You Begin
Before starting the integration process, make sure you have:
- A YourGPT account: Sign up here
- A Zapier account (free or paid)
Integration Process
-
Connect to Zapier
- Log in to your Zapier account
- Search for “YourGPT Chatbot” in the Zapier app directory
- Select and connect your “YourGPT Chatbot” to Zapier
-
Set Up API Authentication
- Head over to YourGPT Dashboard
- Navigate to Integrations ⇒ API Integration ⇒ Generate API key
- Copy your API key for use in Zapier
-
Create a Session
- In your Zap, add a new action and select “YourGPT Chatbot”
- Choose
"Create Session"
as the action - Provide the
widget_uid
in the action setup - The
widget_uid
can be found in your YourGPT Chatbot Integrations
📌The Create Session action initializes a conversation with your YourGPT chatbot and returns a
session_uid
that you’ll need for sending messages. -
Send a Message
- Add another “YourGPT Chatbot” action to your Zap
- Select “Send Message” as the action
- Configure the following parameters:
widget_uid
: The same ID used in the Create Session actionmessage
: The text content you want to sendsession_uid
: Map this from the output of the Create Session action
-
Test and Deploy
- Test your Zap thoroughly to ensure all actions work correctly
- Once tested, you can turn on your Zap for production use
- Consider adding error handling for robustness