Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

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

  1. When Lead Reply Received
  2. Set Email Details
  3. Search Lead in Pipedrive
  4. OpenAI Lead Response Analysis
  5. Route by Lead Intent
  6. Parse AI Response
  7. Create Pricing Task
  8. Create Meeting Task
  9. Create Follow-Up Task
  10. Update Deal with Analysis
  11. Post Slack Notification
  12. Alert Lead Missing in Pipedrive
  13. Check Lead Presence
  14. Add Note to Pipedrive

15 steps in total.

Similar automations