Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Data Sync & ETL

Data Sync & ETL

Sync Google Calendar events to Asana tasks with a data table sync log

Runs hourly to create, update or delete Asana tasks from Google Calendar events, matching each event against a sync log kept in an n8n data table.

What it does

## Sync Google Calendar events to Asana tasks Who's it for: teams that plan in Google Calendar but track work in Asana and want every event to appear as an Asana task automatically. ### How it works 1. Every hour the workflow loads your calendar events from the last 3 days to the next 2 weeks (configurable). 2. Each event is matched against a sync log kept in an n8n data table. 3. A new event creates an Asana task with the event times, attendees from your company as followers, and a pinned summary comment. 4. A changed event updates its task. A cancelled or declined event deletes it. 5. The sync log stores each event's Asana task ID and last-synced time, so nothing is duplicated. ### Setup 1. Create a data table with three text columns: CalendarEventID, AsanaTaskID, LastSyncedUpdate. 2. Select that table in the three Data Table nodes. 3. Fill in the Set configuration node: calendar ID, Asana workspace and project IDs, company email domain, time zone and sync window. 4. Connect your Google Calendar and Asana accounts, run once manually, then activate. ### Customization Change the schedule, the sync window, or the comment wording in the two "Prepare" code nodes.

The steps

  1. Create Asana Task
  2. Loop over events
  3. Get Calendar Events
  4. Get sync records
  5. Set configuration
  6. Match events with sync records
  7. Update Asana Task
  8. Add Task Creation Comment
  9. Add Task Update Comment
  10. Get Asana users for new task
  11. Get Asana users for task update
  12. Prepare Updates for Asana Task
  13. Prepare Asana Task Data
  14. Add Asana Followers

23 steps in total.

Similar automations