AI Help
How do I stop an AI enrichment workflow from overwriting a manually edited Sheets row?
Match the row by a stable key and recheck its current version or ownership before updating AI-managed fields.
Steps to follow
- Store the source row's stable ID and an observed revision or updated timestamp in the job.
- Immediately before writing, reread the row and compare the fields the AI intends to change. Route a conflict to review.
- Use storage with atomic conditional updates when concurrent writers require strong guarantees. A separate Sheets read and write can race.
Example in practice
Illustrative example. If a salesperson edits a lead's qualification while enrichment runs, the changed row is flagged instead of silently replaced.
Related AI help
- How do I pass an error from an n8n sub-workflow back to its parent?
- How do I create a dry-run mode for an n8n workflow that writes to a CRM?