Skip to content
NEWMarketplace and the trig8n Agent: 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

Copy Incoming IMAP Emails into Mailboxes with OpenAI Rules

When a new email arrives over IMAP or you run it manually, OpenAI reads its fields and decides which mailbox it belongs in.

What it does

# Httprequest Workflow ## Overview Automated workflow: Httprequest Workflow. This workflow integrates 8 different services: filter, httpRequest, stickyNote, splitOut, set. It contains 19 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 19 - Node Types: 8 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Session: httpRequest - Get Mailbox IDs: httpRequest - Split Out: splitOut - Email Trigger (IMAP): emailReadImap - Get fields from source email: set - OpenAI: openAi - Filter for drafts folder: filter - upload draft email: httpRequest - gather data for draft email: set - Sticky Note: stickyNote - ... and 9 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. Manual Trigger
  2. Session
  3. Get Mailbox IDs
  4. Split Out
  5. Email Trigger (IMAP)
  6. Get fields from source email
  7. OpenAI
  8. Filter for drafts folder
  9. upload draft email
  10. gather data for draft email
  11. Error Handler
  12. Stopanderror 1
  13. Stopanderror 2
  14. Error Handler for 082d1828

47 steps in total.

Similar automations