This article provides information on how to integrate ChatGPT with Manychat and use this functionality.
ChatGPT is a powerful tool that enhances and assists human work. It uses natural language processing driven by AI technology. The tool can help dramatically improve your marketing efforts, from creating better and more personalized customer experiences to saving time on customer support responses. ChatGPT is very important for marketers and business owners who want to improve their customers' experiences with their brand.
How to integrate your ChatGPT account with Manychat
Step 1: First, you need a ChatGPT account. Go to the OpenAI website and create an account by clicking the Sign up button.
Step 2: Generate your API Keys by going to the API Keys tab and clicking Create new secret key.
Once created, copy the API key.
⚠️ Make sure to save the key somewhere safe, as you won’t be able to view it later. If you lose this API key, you'll need to generate a new one.
Step 3: Go to Manychat and proceed to Settings > Integrations. Paste the secret key into the corresponding window, and press the Connect ChatGPT Account button.
How to use ChatGPT integration in Manychat
Step 1: Go to the Automation tab and create a new flow.
💡 Don’t forget to add a trigger to it.
Step 2: Create a content node that includes a Data Collection Block. This block will be used for requests to ChatGPT from your contacts.
💡 Optionally, you can save the request into a Custom User Field.
In the example below, we created a custom user field called GPT question. This field was then selected in the data collection block so that any open-ended questions from users could be saved to this field.
Step 3: Add an Action block and select ChatGPT action.
Select the GPT model in the setup window.
Make a request to ChatGPT by providing your prompt for the AI. Here are some things to keep in mind:
- Provide static or dynamic prompts to guide ChatGPT for each request. These prompts should be clear, concise, and informative to achieve optimal results.
- Avoid long or overly detailed prompts and replies, as they can lead to timeouts. Responses must be completed within 30 seconds; otherwise, they will be dropped.
- Be mindful of message length limits in Meta channels (a 1,000-character limit for Instagram, and a 2000-character limit for Messenger and WhatsApp).
Set the Last Text input field. It will contain the very last message sent by the contact.
Specify the custom field where Manychat will store a response from ChatGPT.
💡You can also use advanced settings like Maximum tokens and Temperature. Maximum tokens define the maximum length of the generated message, while temperature sets the amount of randomness in it. Values closer to 0.0 are recommended for analytical or multiple-choice tasks and closer to 2.0 for creative and generative tasks.
Step 4: Create a reply message by inserting the custom user field with ChatGPT’s response to a Text block.
Step 5: This is how our automation looks in Manychat and Messenger. Don’t forget to publish it by pressing the Set Live button.
💡 Please make sure to check the links below for information about GhatGPT pricing and a summary of API usage for your organization: