Articles on: Chat and Chatbots

Automating Conversations with ChatGPT

#Automating Conversations with ChatGPT

With ActiveDEMAND's 'Ask ChatGPT' workflow action, you can automate engagement with prospects using automation.

How to integrate ChatGPT with ActiveDEMAND





The workflow action retains the context of all engagement with the contact while the contact is within the workflow that contains the Ask ChatGPT workflow action.



Within the workflow context the workflow action sends a prompt to ChatGPT, and ChatGPT responds to the prompt with a response.




The prompt can be configured using dynamic terms etc:




The prompt and response can then be accessed by subsequent workflow actions by using the dynamic terms:

%CHAT_GPT.LAST_BOT_PROMPT%
%CHAT_GPT.LAST_BOT_RESPONSE%



You can set up an infinite conversation with a prospect by using a workflow such as this:



The BOT Prompt (ChatGPT script) can be as simple as

%CONTACT.RECENT_INCOMING_HISTORY(TEXTMESSAGE).COMMENTS%

which delivers the body of the last text message received by the prospect.

The entire history of the workflow specific conversation is always passed to ChatGPT on each call.




The history of the ChatGPT prompt/response is contained in a single history item on the contact timeline






Only the configured workflow action Prompt (Script) is displayed on the timeline for simplicity.

Updated on: 16/08/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!