ChatGpt Assistance Integration
Integrating ChatGpt in GHL using WAGHL
Integrate ChatGpt in GHL in less than 10 minutes. Just follow the steps given in the video.
SOP: Connecting Chat GPT with WAGHL Services
Objective
To link WAGHL services with ChatGPT to create a automation or Chat GPT bot using WAGHL services for responding to user queries.
Key Steps
Go to automations in your GHL sub-account and create a new workflow, choosing "From Scratch."
Add a trigger (e.g., "Customer Replied") and set the Filter to "Reply Channel" as SMS. Save the trigger and enable Re-entry in Workflow Settings.
Add an action as WebHook, set the method as POST, and paste the URL provided in the description link.
Add two keys: Chat GPT Assistant ID and Chat GPT API Key, along with their respective values. Ensure the values are correct.
Save the action, name the workflow (e.g., Chat GPT or Chatbot), and save and publish the workflow.
Test the workflow by sending a message to the connected number to receive responses from Chat GPT.
Webhook URL
Webhook URLs may be different based on the WhatsApp Gateway you are using. To identify the correct webhook URL for your GHL sub-accounts, switch to the subaccount and go to
Settings- Phone Numbers - Advanced Settings
Custom Data Keys
Capture ChatGpt's last response
To capture the last ChaGpt response under the contact custom field, create a custom field under the contact.
How to create the custom field for the contact
Go to Settings- Custom Fields- Add Fields
Select Input text as Multiline and in the field name put the below text
Chat Gpt Last Response
Chat Gpt Last Response
under group select Contact and click on Save
Cautionary Notes
Ensure correct values are entered for the Chat GPT Assistant ID and API Key.
Verify the webhook URL based on your default SMS provider - (WhatsApp Gateway, WhatsApp Gateway 1, or WA 1 Connector).
Tips for Efficiency
Keep the Chat GPT Assistant ID and API Key handy from your OpenAI platform.
Create a multi-line field named "
Chat Gpt Last Response
" in custom fields to capture and store the last response.Regularly check and verify the last response captured in the GHL contacts to ensure the proper functioning of the integration.
Last updated