Scheduled AI Report with n8n

    by AMIN REDA

    1

    Build an n8n workflow that reads recurring emails, extracts structured data with AI, compares with the last period, and emails a styled HTML report.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    Turn a pile of recurring emails or records into a weekly (or daily) analytical report that sends itself.

    1. Schedule. Schedule Trigger with an explicit timezone. Compute the period window (for example last 7 full days) in a Code node and pass period_start and period_end forward.
    2. Fetch items. Get emails or rows inside the window using the source's search or filter. Apply a subject, label or folder filter. Handle the empty case: if nothing is found, send a short "no items this period" note instead of failing.
    3. Extract structured fields. Loop over items, or batch them, with an AI step that returns JSON per item, for example type, severity (low|medium|high|critical), location, root_cause, status, date. Validate against an enum list and mark unknown values as unspecified, never guess.
    4. Aggregate. In a Code node compute counts by type, severity and location, open versus closed, and top repeated root causes.
    5. Compare with the previous period. Fetch the prior period's stored summary (a Sheet row or the previous report) or re-run the same fetch for the earlier window using the agent's tools. Compute deltas and flag meaningful increases.
    6. Generate the narrative. Give the AI the aggregates, the deltas and a short list of notable items (not raw private data), and ask for: executive summary, risk alerts, and 3 to 5 concrete recommendations. Tell it to use only the numbers provided.
    7. Render HTML. Build the email as simple inline-styled HTML: header with period, KPI row, small tables, risk alert box, recommendations. Keep it readable on mobile and in Outlook (tables, inline CSS, no scripts).
    8. Send and store. Email the report, then save this period's aggregates for next time's comparison.
    9. Failure path. Error Trigger sends an alert to the owner if any step fails, so a missing report is never silent.

    Designs the workflow, prompts and report template; it does not connect to your mailbox or deploy anything.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Build an n8n workflow that reads recurring emails, extracts structured data with AI, compares with the last period, and emails a styled HTML report.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Scheduled AI Report with n8n on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    Free