Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Email Automation

Email Automation

Book Appointments from Gmail with an OpenAI Agent

When an email arrives, OpenAI classifies appointment requests, an agent books them in Google Calendar and sends a Gmail reply.

What it does

# Stickynote Workflow ## Overview Automated workflow: Stickynote Workflow. This workflow integrates 8 different services: textClassifier, stickyNote, gmailTrigger, agent, stopAndError. It contains 13 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 13 - Node Types: 8 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Sticky Note: stickyNote - Sticky Note1: stickyNote - OpenAI Chat Model: lmChatOpenAi - OpenAI Chat Model1: lmChatOpenAi - Send reply: gmail - Gmail Trigger: gmailTrigger - Classify appointment: textClassifier - Agent: agent - Google Calendar: googleCalendarTool - Mark as read: gmail - ... and 3 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

The steps

  1. OpenAI Chat Model
  2. OpenAI Chat Model1
  3. Send reply
  4. Gmail Trigger
  5. Classify appointment
  6. Agent
  7. Google Calendar
  8. Mark as read
  9. Error Handler for 29ce0093
  10. Error Handler for 5176f475
  11. Error Handler for b61e8061
  12. Error Handler

Similar automations