Skip to content
FlowHubFluxonLab
A
AI Automationfree

Report workflow errors to Asana tasks with Google Chat and Grok 4.5 analysis

by Aironauts AIadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentAsanaAsanaCCodeHTTP RequestHTTP RequestOpenRouter Chat ModelOpenRouter Chat ModelStructured Output ParserStructured Output Parser
Share Post Share
ErWhen Workflow ErrorsWhen Workflow E…SePrepare Config DataPrepare Config …HRFetch Workflow MetadataFetch Workflow …SeExtract Error DetailsExtract Error D…Fetch Asana ProjectsFetch Asana Pro…Fetch Asana UsersFetch Asana Use…MeMerge Asana Projects and UsersMerge Asana Pro…CoLink Asana Project and UserLink Asana Proj…Find Existing Error TaskFind Existing E…CoIdentify Duplicate TaskIdentify Duplic…IfIf Task Exists AlreadyIf Task Exists …Comment on Existing TaskComment on Exis…MeCombine Context and CommentCombine Context…HRNotify Recurring Error on ChatNotify Recurrin…AgAI Error Analysis AgentAI Error Analys…OpenRouter Chat InterfaceOpenRouter Chat…OPError Analysis StructureError Analysis …CoAssign Due Date by SeverityAssign Due Date…Add New Task in AsanaAdd New Task in…MeCombine Analysis and TaskCombine Analysi…HRNotify New Error on ChatNotify New Erro…1234567891011121314151617181920212223
1/5
STEPS · 23
Starts on a Error event

Quick overview When a monitored workflow fails, this reads its Description field to find the owning client and assignee, looks them up in Asana, analyses the error with Grok 4.5, and creates an assigned task with a severity-based due date. Repeat failures comment on the existing task. How it works Any workflow that names this one as its error workflow triggers it on failure. There is no production trigger by design. The error payload only carries a workflow ID, so an HTTP Request calls the n8n API to read that workflow's own Description field, which holds a small JSON object naming the client and the assignee. Asana projects and users are fetched live and matched by name, so no GID is ever hardcoded. A failed match raises a warning that travels downstream instead of failing silently. Asana is searched for an open task covering the same workflow and node. If one exists, a comment carrying the new execution ID is added rather than a duplicate task. For a new error, Grok 4.5 via OpenRouter returns a root cause, a solution, concrete steps, a severity, and a category, held to a fixed shape by a structured output parser.

Tags

n8nreference-onlyagentasanalm-chat-open-routeroutput-parser-structured
Connects
AAI AgentasanaAsanaCCodeWHTTP RequestopenrouterchatmodelOpenRouter Chat ModelstructuredoutputparserStructured Output Parser
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes21
AddedJul 17, 2026

Related workflows

See all AI Automation
ACgmailsheets
free

Screen LinkedIn jobs and send tailored applications with Apify and OpenAI

Quick overview This workflow collects your job preferences via an n8n form, uses Apify to scrape LinkedIn job listings, and has OpenAI screen and rank them. After you approve a shortlist by Gmail, it generates tailored resume and cover-letter PDFs with DocRaptor, emails them to you, and logs matches to Sheets How it works Receives your job preferences and resume text through an n8n form submission. Sends the preferences to Apify to scrape recent LinkedIn jobs, then removes duplicates and obvious mismatches (seniority, years of experience, and location). Uses OpenAI to score each job’s relevance and eligibility and returns a JSON verdict with a fit score and short reason. Keeps the top matches above the configured threshold and emails you a shortlist in Gmail with approve/decline buttons. If you approve, uses OpenAI to draft a job-specific resume and cover letter from only the provided profile text and generates HTML interview prep questions. Converts the resume and cover letter HTML into PDFs via DocRaptor, emails the tailored application package to you in Gmail, and appends the match details to a Google Sheets tracker. Setup Add credentials for OpenAI, Gmail OAuth2, Google Sheets

by Dr. Firas
ACW
free

Run a multimodal WhatsApp AI assistant with OpenAI for text, voice and images

Quick overview This workflow turns WhatsApp into a multimodal assistant that answers text, voice notes, images, and PDF documents using OpenAI, and can generate images with DALL·E on demand, replying back in WhatsApp with either text, audio, or an image. How it works Triggers when a new WhatsApp message is received. Detects whether the incoming message is text, a voice note, an image, a PDF document, or an unsupported type. For text messages, generates an image with OpenAI DALL·E when the message starts with the configured /image command, and sends the generated image back to the sender. For voice notes, fetches the WhatsApp media URL, downloads the audio, transcribes it with OpenAI, and forwards the transcript to the assistant. For images, fetches the WhatsApp media URL, downloads the image, describes it with OpenAI vision using the configured analysis prompt, and forwards the description (plus any caption) to the assistant. For PDF documents, downloads the file from WhatsApp, extracts the PDF text, and forwards the extracted content (plus any caption) to the assistant, while non-PDF files receive an error message. Uses an OpenAI chat model with per-contact short-term memory to ge

by Dr. Firas
BCgmail
free

Verify Japanese invoice registration numbers from Gmail using Gemini, NTA API, Sheets and Slack

Quick Overview This workflow monitors Gmail for unread invoice emails with PDF attachments, extracts invoice details with Google Gemini, verifies Japanese qualified invoice registration numbers against the National Tax Agency (NTA) Invoice Web-API, logs results to Google Sheets, and sends Slack alerts for invalid, missing, or inconclusive checks. How it works Polls Gmail hourly for unread emails matching “has:attachment invoice” and downloads the first attachment. Extracts text from the attached invoice PDF. Uses Google Gemini to parse the invoice text into structured fields such as the T-registration number, issuer name, invoice date, and amounts. Normalizes and validates the registration number to ensure it matches the required “T + 13 digits” format. If the format is valid, calls the NTA Invoice Web-API to verify the registration number and interprets the response as valid, invalid, or not found. Appends the invoice details and verification status to a Google Sheets worksheet. Routes the outcome by sending the appropriate Slack alert for invalid/not found/inconclusive results or marking the invoice email as read when the number is valid. Setup Connect your Gmail OAuth2 credentia

by Oka Hironobu