Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / E-Mail-Automatisierung

E-Mail-Automatisierung

Follow up on overdue invoices with OpenAI, Gmail and Google Sheets

On a schedule, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets.

Was sie bewirkt

## AI Accounts Receivable Follow-Up — Guardrailed Gmail + Google Sheets ### How it works This workflow runs every morning to review accounts receivable invoices in Google Sheets and decide whether a follow-up email should be sent. For each eligible invoice, it checks Gmail thread history, applies guardrails to avoid duplicate or poorly timed messages, uses OpenAI to classify the correspondence, and then either sends a deterministic reminder, defers, flags for human review, or reconciles an already-sent stage. It writes the resulting state back to Google Sheets and loops until all invoices are processed. ### Setup steps - Configure the schedule trigger for the desired daily run time and timezone. - Connect Google Sheets credentials and set the invoice spreadsheet, sheet/tab, and column mappings used by the read and update nodes. - Connect Gmail credentials with permission to read thread history and send reminder emails from the intended mailbox. - Connect OpenAI credentials and verify the classification prompt/model settings match the desired AR decision policy. - Review the Configuration code node for thresholds, stage rules, sender details, and any spreadsheet field names before activating the workflow. ### Customization Adjust eligibility timing, follow-up stages, the 72-hour conversation guardrail, AI classification criteria, and deterministic email templates to match your collections policy.

Die Schritte

  1. When Daily at 9 AM
  2. Initialize Configurations
  3. Read from Invoice Sheets
  4. Identify Eligibility Stage
  5. Loop Through Invoices
  6. Retrieve Gmail History
  7. Construct Email Context
  8. Check Stage Sent Already
  9. Reconcile Sent Invoices
  10. Check Recent Conversation
  11. Defer Due to Recent Msg
  12. OpenAI Classifier for Emails
  13. Interpret AI Classification
  14. Determine If AI Suggests Send

Insgesamt 22 Schritte.

Ähnliche Automatisierungen