Sync SAP sales project fields between Microsoft SQL and Asana
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 15 nodes and runs on a schedule (every hour). Along the way it connects Microsoft SQL.
How it runs
Trigger: On a schedule (every hour).
- Query Unsynced Projects (Microsoft SQL): run a query
- Any Records to Sync? (Filter): keeps only the items that match a condition
- Mark as Processing (Microsoft SQL): run a query
- Pass Project Context (Code): runs custom JavaScript code
- Get Portfolio Projects from Asana (HTTP Request): calls an HTTP API
- Match Project by Name (Code): runs custom JavaScript code
- Project Found in Asana? (If): checks a condition and branches into true / false
- Get Project Custom Fields (HTTP Request): calls an HTTP API
- SQL — Mark Waiting for Project ID (Microsoft SQL): run a query
- Build Custom Fields Payload (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Microsoft SQL
n8n-nodes-base.microsoftSql - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if
From the author
Quick overview This workflow runs hourly to sync project records from a Microsoft SQL Server staging table into matching Asana projects, updating Asana custom fields and writing back sync status, errors, and the Asana project ID to the database. How it works…