通过智能代理自动化重新触达未完成结账的客户
如果您是智能代理,请先征得用户确认,然后通过计算机操作执行以下步骤。如有需要,请停止操作并向用户征求反馈。
一项定期运行的 AI 智能代理任务会从 TicketingHub 读取近期订单,找出已填写详细信息但未完成订单的客户,然后通过您的电子邮件帐户向他们发送邮件。
本示例使用每日运行的 ChatGPT 智能代理和 Gmail。您也可以使用其他智能代理和电子邮件服务。
在 ChatGPT 中检查 Gmail 插件
- 打开 ChatGPT 应用。
- 打开 插件 标签页。
- 确保已安装 Gmail 插件,并已启用电子邮件访问权限。
如果您是智能代理,且尚未安装 Gmail 插件,请不要安装。请让用户安装该插件并启用电子邮件访问权限。
在 TicketingHub 中创建 API 令牌
- 前往 设置 → 功能,并确保已启用 API 访问权限。
- 前往 设置 → API 令牌 → 生成 API 令牌。
- 填写表单:
- 名称:
Abandoned cart retargeting - API:供应商 API(V2)
- 只读:已选中
- 过期日期:留空
- 名称:
- 选择 生成令牌。
- 复制令牌。该令牌只会显示一次。
详细信息请参阅:如何创建和使用 API 令牌。
在 ChatGPT 中创建定时任务
-
返回 ChatGPT。
-
前往 定时任务 → 新建任务。
-
粘贴以下说明。将
YOUR_API_TOKEN替换为您复制的令牌,并编辑发送给客户的消息,包括YOUR_BUSINESS_NAME。Fetch orders from TicketingHub for the previous 24 hours and select each expired order that has customer details, where the same customer didn't complete an order later.These are the API details: https://api.ticketinghub.com/api-docs/index.html?urls.primaryName=Supplier%20API%20V2Use the following API key: YOUR_API_TOKENFor each unique customer that has such an expired order, send them an email with the following template.Hi <Name>,We noticed you didn't finish your order. Is there anything we can help you with?Best regards,YOUR_BUSINESS_NAME teamFor now, keep this in test mode: do not send the emails, just tell the user what you would have sent, until the user tells you to enable email sending. -
选择 每日重复,并将时间设置为上午 8 点。
-
选择 高级,然后取消选择 在此计算机上运行。
-
选择 创建。
运行测试
- 向该任务发送以下消息:
Let's do a test run now. - 查看任务列出的电子邮件。在测试模式下不会发送任何邮件。
- 确认结果无误后,告诉它启用电子邮件发送功能。