# GPT Action Library: Retool Workflow ## Introduction This page provides an instruction & guide for developers building a GPT Action for a specific application. Before you proceed, make sure to first familiarize yourself with the following information: - [Introduction to GPT Actions](https://platform.openai.com/docs/actions) - [Introduction to GPT Actions Library](https://platform.openai.com/docs/actions/actions-library) - [Example of Building a GPT Action from Scratch](https://platform.openai.com/docs/actions/getting-started) This particular GPT Action provides an overview of how to connect to a **Retool Workflow**. This Action takes a users input and sends it to the workflow in Retool using a webhook trigger. Retool then performns the configured workflow and sends a response back to ChatGPT as a JSON object. ### Value + Example Business Use Cases **Value**: Users can now leverage ChatGPT's natural language capability to connect directly to any workflow in Retool. **Example Use Cases**: - You have custom code running in a Retool workflow that you'd like to incorporate into a GPT. - Data Scientists maintain an external VectorDB (either using Retool Vector or another vector DB) and would like to send the results of the vector search back to ChatGPT. - Retool is used as middleware to connect to internal services, and you'd like to use Retool's webhooks to provide access to these services to ChatGPT. ## Application Information ### Application Key Links Check out these links from the application before you get started: - Application Website: https://retool.com/products/workflows - Application API Documentation: https://docs.retool.com/workflows ### Application Prerequisites Before you get started, make sure you go through the following steps in your Retool environment: - Set up a Retool account - Create a simple workflow ### Application Workflow Steps Below is an example of a basic Retool Workflow. This workflow takes in 2 values and adds them and responds to the webhook trigger with the result. ***Note:*** Your workflow must be deployed before it will be accessible from your GPT.
## ChatGPT Steps ### Custom GPT Instructions Once you've created a Custom GPT, you should add Instructions to the GPT providing context about the GPTs role, and the actions it is able to perform. Have questions? Check out [Getting Started Example](https://platform.openai.com/docs/actions/getting-started) to see how this step works in more detail. ### OpenAPI Schema Once you've created a Custom GPT, copy the text below in the Actions panel. Have questions? Check out [Getting Started Example](https://platform.openai.com/docs/actions/getting-started) to see how this step works in more detail. ***Note:*** You need to replace the __