Email Automation
Gate personal data before external sends with Jev, Google Sheets, Gmail, Telegram and
When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Telegram, Jev Classification.
What it does
## Personal data gate before an external API call ### How it works 1. Gate Request accepts a payload record: job_id, record_ref, payload_text and destination. 2. The intake guard rejects an incomplete request before any model call and emails ops. 3. Jev Check Personal Data returns jev.answer and jev.probability. 4. Two bands route it: probability at or above 0.85 blocks, at or below 0.15 allows, and everything between is held for the privacy officer. 5. Each outcome logs a Privacy Gate row first, then notifies: officer email plus urgent Telegram for a block, Telegram for the holds, and the partner API plus a sender receipt for an allow. 6. Daily at 07:00 a scheduled lane reads the log, counts decisions and emails the AI drafted audit note. ### Setup steps - [ ] Credentials: Jev (TypeSafe) API, shared Google Sheets, Gmail and Telegram. - [ ] Point Forward Payload To Partner API at your real vendor endpoint. - [ ] Keep both thresholds: only the 0.15 output may leave the building. ### Customization - Adjust the cron, the bands or the officer address.
The steps
- Gate Request
- Normalize Payload
- Jev Check Personal Data
- Personal Data Confident?
- Block External Send
- Hold For Privacy Officer
- Clearly Not Personal?
- Allow External Send
- Hold Borderline Payload
- Payload And Destination Present?
- Mark Unusable Gate Request
- Email Gate Intake Problem
- Log Blocked Send
- Email Privacy Officer Block
28 steps in total.
Similar automations
Email AutomationTriage trust and safety reports with Jev Classification, Google Sheets, Gmail and Telegram33 stepsEmail AutomationScore and route incidents with Jev Classification, Google Sheets, Gmail, Telegram, and30 stepsForms & SurveysGate and rewrite social posts with TypeSafe Jev and OpenAI GPT-4o mini15 stepsRAG & Knowledge BasesGate saved crawl batches before RAG ingestion with Apify Recency Actor8 steps