built the research agent i kept rebuilding by hand: planner, researcher, critic, writer, and a qa gate that refuses to write from unsourced claims. free workflow json if it saves you the weekend: https://t.co/dKFYfUXY9p
a json schema makes a model answer in fields. it does not stop it from inventing a value to fill one.
two lines in the prompt fix most of it: if the source does not state it, return an empty string. and quote the sentence you took the value from.
@MartinSzreter the verbatim span is the fix: have the model return the exact quote it pulled, plus the record id, then assert the quote exists in the source before the write node runs. paraphrased rows fail the assert and retry instead of quietly landing on the wrong record.
@PriyashaaGhos two agents failing at the same step usually means the step, not the agents. screenshot on failure, wait for one specific element instead of a fixed delay, and let it give up after two tries and close as 'needs a human' instead of retrying into the void.
@onchainnotes_@sbyusuf_ this is why the prompt lives in a sheet row instead of the node. client edits the wording, the flow stays untouched, and when support calls you can see which version ran. the canvas is the thing they break by accident.
@harishcrawlq the reject path in most n8n flows only skips the send node, so the row stays as it was. any job that picks up 'pending' rows later tries again, and the human's no never reached the record. writing the decision into the same row the flow reads is what actually closes it.
@ThedreamBlossom@theStackedHq the line i'd draw isn't confidence, it's what can be undone. a crm note is fixable, a whatsapp sent to the wrong owner isn't. so let it write notes freely and make every outbound message a draft someone presses send on.
@Eurokiwiboy credentials was the sneaky one for me. the token was fine at the start, it just expired mid-run, so a 200 item batch died at item 140 and looked like a model problem. now i check expiry before the loop starts instead of catching it after.
@MartinSzreter that's the part people skip: validate against the source text, not the rewritten one. one phrase from the input matched to the output catches the pairing error the schema happily passes.
@Vegaqxq yep, and the daily one is the one nobody builds. no error, no alert, just silence. mine is a row that should say 1 today and a 9am count that complains when it doesn't.
@Lukealexxander the crm follow-up piece is the one i'd automate first, and it's mostly a data question. last touch, last reply, next step in one row. if that row doesn't exist the agent just guesses who to chase and you get noise on top of admin.
@GhanbiBadr the bit that makes these survive is writing the last touch date back to the record before the send. a re-run then can't double nudge. i've seen reminder agents do more damage by sending twice than by never sending at all.
@The_Sheventurer the fastest win i've seen is drafting inside the first few minutes and leaving the send to a person. score the form, pull the enrichment, draft the reply, queue it for a human. speed without a bot talking to buyers unsupervised.
@aishanitwts the 3 weekends usually go into the lead data, not n8n. enrichment rots faster than people expect, so cache it and log the source and date per field, then re-verify on a schedule instead of scraping it again. the cheap part stays cheap that way.
@akhigbejoshuap sorting is the easy part, it's the edge cases that break it. capping labels to 4 + dumping anything unsure into one review folder saved my inbox
@coldemailchris list rot is the real killer here tbh. once we started logging enrichment dates per contact, campaign 2 stopped burning credits on stale titles
@Kenny_GTM The cutting is the underrated part. Enrichment is where lists quietly rot โ one stale title and the segment is wrong. Cache the enrichment, log the source and date per field, and let the model write instead of classify.
@KSimback n8n, for the unglamorous half: inbox triage, invoices, lead research. The why is boring โ deterministic steps stay deterministic, one job per node, and the data stays on my instance. The best agent is the one whose wiring you can read.