• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Open AI Assistants API

Status
Not open for further replies.
OpenAI Assistants API Integration with Pabbly Connect:

This documentation provides a detailed, step-by-step guide for integrating your OpenAI Assistants API with Pabbly Connect. Following these instructions will enable you to establish a seamless connection between the two platforms.


Integration Steps:

1. Select "OpenAI" Action:

  • Within Pabbly Connect, navigate to the action step and choose "OpenAI" as the action you wish to perform. Select an action event, such as "Create Assistant".
    1700111144011.png
2. Configure the Connection:
  • To establish a connection, select "Add New Connection" and enter the API key. If you already have an existing connection, you can opt for "Select Existing Connection" instead.
    1700111203715.png
  • You can get the API key from your OpenAI account under the API keys section.
    1700111404228.png

Explanation of OpenAI Assistants API:
Let's walk through an example to help you understand how to use the Assistants API effectively.

1. Create Assistant:
  • Generate a single assistant with the instruction to "Reply to the best of your knowledge." You can do this easily through the OpenAI User Interface or use the "Create Assistant" action step in Pabbly Connect.
2. Manage Threads:
  • Set up a unique thread for each conversation with a specific member. To keep track of thread IDs and unique customer IDs, you can use Google Sheets. (NOTE: You have the option to create a unique thread using either the OpenAI User Interface or the "Create Thread" action step in Pabbly Connect.)
3. Handle New Messages:
  • When a new message arrives from a customer, perform a lookup in Google Sheets to find the corresponding thread ID. If the thread ID exists, direct the new message to that thread. If not, create a new thread and send the message to this newly established thread.
By following these steps, subsequent messages from the same user will automatically go to the specific thread associated with that user. This process ensures that past conversations are stored, enabling OpenAI to recall the context of previous interactions.


Actions:

1. "Create Assistant"

  • Use Case: To your personal assistant inside the OpenAI account.
  • Select the "Create Assistant" action, connect your OpenAI account, enter the name of the assistant, and instructions, choose the model, and other details, and click "Save and send test request."
    1700136277845.png

2. "Create Thread"
  • Use Case: To create a thread inside the OpenAI account.
  • Select the "Create Thread" action, connect your OpenAI account, and click "Save and send a test request."
    1700136368567.png

3. "Create Message"
  • Use Case: To create a message inside the thread in the OpenAI account.
  • Select the "Create Message" action, connect your OpenAI account, enter the thread ID and other details, and click "Save and send test request." Here i have mapped the thread ID from "Create Thread" action step.
    1700136560082.png

4. "Create Run"
  • Use Case: To execute a run of your message in the OpenAI account.
  • Select the "Create Run" action, connect your OpenAI account, enter the thread ID, choose your assistant, and click "Save and send test request."
    1700136641174.png

5. "List Message"
  • Use Case: To list all the messages inside the thread in the OpenAI account.
  • Select the "List Message" action, connect your OpenAI account, enter the thread ID, and click "Save and send test request."
    1700136715567.png

Check out this video to learn more about how to use this integration:

Successful Integration:

After completing the aforementioned steps, the integration of your OpenAI Assistants API with Pabbly Connect is now successful. You can use the actions to create a thread and retrieve responses from OpenAI based on the previous conversation within the thread.
With this integration, you can automate processes through Pabbly Connect, improving your workflow and enhancing your productivity.
If you encounter any issues or require further assistance, feel free to reach out to our support team for help. Happy integrating!
 
Last edited:
Status
Not open for further replies.
Top