Hello I’m building an n8n automation that receives data from a webhook, processes it, calls multiple external APIs, and stores the results in a database. I want the workflow to remain reliable even when API calls fail, requests increase, or the same data is received multiple times.
Example Code:
const data = $json;
return {
userId: data.userId,
requestId: data.requestId,
timestamp: new Date().toISOString()
};
Please guys How would you architect this n8n workflow to handle high traffic, prevent duplicate executions, implement retries and error recovery, manage API rate limits, and maintain data consistency across multiple services?
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: