Quick Overview
This workflow runs every Monday, pulls the previous week’s NUACOM calls for selected extensions, analyzes call AI data and transcriptions with an OpenAI-powered agent, and emails a consolidated HTML insights report via Gmail.
How it works
- Runs every Monday at 08:00.
- Fetches the previous week’s calls from NUACOM for the configured extensions.
- Keeps only answered calls longer than 40 seconds and retrieves NUACOM AI call analysis data for each call.
- Compacts the call fields and groups all calls into a single payload for weekly analysis.
- Uses an OpenAI chat model (via the n8n AI Agent) to generate an HTML report covering pain points, competitors, objections, and qualifying-question coverage.
- Sends the generated report by email through Gmail.
Setup
- Add NUACOM API credentials and enable NUACOM AI call analysis so transcriptions/summaries are available.
- Update the NUACOM call search settings (extensions, date range logic if needed, and the minimum duration threshold).
- Add an OpenAI API credential and choose the model used by the AI Agent.
- Add a Gmail OAuth2 credential and set the recipient email address (and any subject/message options) for the report.