Библиотека / Автоматизация эл. почты
Автоматизация эл. почты
Generate GoHighLevel deal follow-up actions with OpenAI and Cognee
When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Slack, Cognee.
Что делает
## 🤝 Deal Opened – AI Follow-up Actions Agent (Cognee RAG) ### How it works This workflow fires automatically when a new deal is opened in GoHighLevel — via a webhook trigger, a daily schedule, or a manual run. It fetches the deal and pipeline details from GHL, parses them into a structured object, and passes everything to an AI Agent powered by GPT-4o-mini and a Cognee tool. The agent searches your company's knowledge base (past deals, client context, sales playbooks) to generate a tailored set of follow-up actions specific to this deal. The output is parsed and dispatched in parallel: a Slack message goes to the sales channel, a follow-up email is drafted and sent via Gmail, and the deal + action items are logged to a Google Sheet. Any errors are caught, formatted, and posted to Slack for visibility. ### Setup steps 1. Replace YOUR_GHL_API_TOKEN in Get GHL Pipelines and Fetch Leads from GHL. 2. Connect Google Sheets OAuth2 to Log Deal to Google Sheet — replace the sheet ID. 3. Connect OpenAI API to OpenAI Chat Model. 4. Connect Cognee API to Search Company Brain (Cognee) — replace with your Cognee account. 5. Connect Slack API to both Slack nodes — replace YOUR_SLACK_CHANNEL_ID. 6. Connect Gmail OAuth2 to Gmail - Send Follow-up Email — replace sales@yourcompany.com. 7. Set the Webhook URL as the trigger in your GHL workflow. 8. Activate all three triggers.
Шаги
- Get GHL Pipelines
- Merge Deal + Pipelines
- GHL Deal Opened (Webhook)
- Parse Deal Data
- Parse Agent Output
- Log Deal to Google Sheet
- Follow-up Actions Agent
- OpenAI Chat Model
- Post Follow-up to Slack
- Format Error Message
- Notify Error in Slack
- Schedule Trigger
- Gmail - Send Follow-up Email
- Fetch Leads from GHL
Всего шагов: 16.
Похожие автоматизации
Автоматизация эл. почтыDraft and approve Gmail replies with OpenAI, Cognee, Slack, and Google SheetsШагов: 20CRM и воронка продажВозврат потерянных сделок GoHighLevel с помощью OpenAI, Gmail и Google SheetsШагов: 15Автоматизация эл. почтыFollow up real estate site visits from Telegram with OpenAI, GoHighLevel and GmailШагов: 18CRM и воронка продажКопирование позиций сделки HubSpot и уведомление в SlackШагов: 7