With this feature, users can store the history of their GPT actions. By leveraging past interactions, GPT actions can generate more relevant and personalized responses.
Action Name
GPT Powered by OpenAI
Action Details
Type of History
There are 5 types of History that can be stored
This Sub Account – Remembers all GPT conversation across all workflows in the sub account where the History type is “This Sub Account”
This Workflow – Remembers all GPT conversation within the workflow where the History type is “This Workflow”
Per Execution – Remembers all GPT conversation within the workflow for a single execution where the History type is “Per Execution”
This Step – Remembers all GPT conversation for the specific action across multiple executions where the History type is “This Step”
Custom – Allows the user to define a personalized History type that can be utilized within a single workflow or across multiple workflows.
How to use it?
Enable the option in Labs
Select the “GPT Powered By OpenAI” action
Switch on “Enable history”
Select the “History for” from the dropdown
Add system instructions
Advanced options
System Instructions – Users can add Instructions if required to give more information to GPT action to get more specific and desired output. These are the rules that can be added which will be followed by all the GPT actions.
Exclude instructions from history – This toggle can be used when user wants to exclude the System Instructions from the “history”
Exclude responses from history – If this is turned on then responses of this action will not be stored in the history. This is useful when the responses are sentiment (positive or negative) or any analytics that were received as output.
Points to be Noted
If Enable History is switched on then by default GPT 4 models will be selected.
History will only work for “Custom” action type
History will be independent for each contact
Example
Sending recommendations to Current customers
Scenario: Have a conversation with the customers based on their previous purchase, recommend them new items and check if they are interested in any other products.
Trigger Setup:
Trigger: Order Placed
Name: Order Placed
Workflow Actions:
GPT Powered by OpenAI: Add the GPT actions. All the actions will have History enabled and will have context of each other’s prompts and outputs. The action will be used to prepare the email and check the sentiment of the customer reply.
Email: The email action will be used to send the output of GPT actions to the customers
Wait: Wait will be added to check if the customer has replied to the email or not.
If/Else: The branches will be based on the sentiment of reply of the customer. If the sentiment is positive then we will continue the conversation and if not then contact will exit the workflow.
Outcome: This automation helps recover potentially engaging the customer in the email, sending personalized responses to the customer to increase the chance of a Sale.