Track post-therapy wellness with GPT-4o-mini, Telegram, Slack and Sheets
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (cron 0 * * * *) (plus 2 other triggers). Along the way it connects Google Sheets, OpenAI, Telegram and Slack.
How it runs
Trigger: On a schedule (cron 0 * * * *) (plus 2 other triggers).
- Read Completed Sessions (Google Sheets): uses Google Sheets
- Sheets: Lookup Patient by Telegram ID (Google Sheets): uses Google Sheets
- Read Completed Sessions (Reply Branch) (Google Sheets): uses Google Sheets
- Slack: uses Slack
- Filter: keeps only the items that match a condition
- Merge: merges the data from its input branches
- AI: Generate Personalised Check-In Message (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
- Telegram: uses Telegram
- AI: Sentiment Analysis on Reply (OpenAI): uses OpenAI
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - OpenAI
@n8n/n8n-nodes-langchain.openAi - Telegram
n8n-nodes-base.telegram - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Filter
n8n-nodes-base.filter - Merge
n8n-nodes-base.merge - Telegram Trigger
n8n-nodes-base.telegramTrigger - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick Overview This workflow uses Google Sheets, OpenAI, Telegram, and Slack to send post-therapy check-in messages, analyze patient replies for sentiment and risk, alert therapists to at-risk responses, and log non-urgent replies for ongoing wellness…