Email Automation
Route lead reply follow-up tasks by intent with Gmail, OpenAI, Pipedrive, and Slack
When a new email arrives, it handles email with OpenAI / ChatGPT using Gmail, Pipedrive, Slack.
What it does
## AI-Powered Lead Response Analysis & Follow-Up Task Automation ### How it works This workflow monitors Gmail for incoming lead replies, extracts key email details, and looks up the sender in Pipedrive. If the lead exists, it uses OpenAI to classify the reply intent, normalizes the AI output, and routes the lead to the appropriate Pipedrive follow-up action. It also sends internal notifications, while unmatched leads trigger an alert email for manual review. ### Setup steps - Connect Gmail credentials for both the trigger and outgoing email nodes. - Connect Pipedrive credentials and verify the person lookup, task creation, deal update, and note creation fields match your Pipedrive schema. - Connect OpenAI credentials and configure the prompt/model to return valid JSON for lead intent analysis. - Connect Slack credentials and choose the correct channel or deal-owner destination for notifications. - Review the IF and Switch conditions so they match the exact Pipedrive lookup results and normalized AI intent values. ### Customization Adjust the intent categories, task due dates, Slack message text, internal email recipients, and Pipedrive note/deal fields to fit your sales process.
The steps
- When Lead Reply Received
- Set Email Details
- Search Lead in Pipedrive
- OpenAI Lead Response Analysis
- Route by Lead Intent
- Parse AI Response
- Create Pricing Task
- Create Meeting Task
- Create Follow-Up Task
- Update Deal with Analysis
- Post Slack Notification
- Alert Lead Missing in Pipedrive
- Check Lead Presence
- Add Note to Pipedrive
15 steps in total.
Similar automations