Skip to main content
asana.searchTasks filters by text, ownership, state, dates, projects, and sections through Asana advanced search.
automations/search-asana-tasks.automation.ts
Provide workspaceId. Optional assignee accepts a user GID, "me", or null for unassigned. Other optional filters are completed, createdAfter, dueAfter, dueBefore, modifiedAfter, projectIds, sectionIds, and text. sortBy accepts "completed_at", "created_at", "due_date", "likes", or "modified_at". sortAscending sets direction. limit is 1–100 and defaults to 100. Optional second argument { account } defaults to the project binding. Returns Signal<{ tasks: AsanaTask[] }>. Asana advanced search requires an eligible paid workspace and doesn’t expose cursor pagination here.