Repository navigation
feat(zapier): Add AI agent and project searches, fix listing checks (#10) - #37
Conversation
) Add Find AI Agent (v2 listAgents) and Get Project Content (v2 exportProject). Run AI Agent now picks the folder and the agent from dropdowns. State the Pro plan on the 5 public webhook triggers and on Run Automation. Fix the D018 title case task that blocked promote. Create Project sends only Markdown, the one content type the endpoint accepts. Bump the app to 1.3.0, add CHANGELOG.md, and update the README status table.
|
@deanzaka this PR gets the Zapier app ready to push as 1.3.0. Impact: the public listing (1.0.8) shows 1 trigger and 1 action. After push and promote, Zapier users and Zapier MCP clients get 6 triggers, 22 actions and 4 searches, with AI agents, automations and projects. The PR also clears the one publishing task (D018) that blocks Before (public 1.0.8): After (1.3.0, promoted): Each visible step needs a test Zap that is on and has one successful run (Zapier checks S002 and T001) before promote. Use an admin account on a Pro plan.
|
There was a problem hiding this comment.
🔵 Needs a closer look
Approval should be deferred because the new v2 agent/project integrations and webhook plan gating depend on unverified live API response and account-plan behavior that repository tests only mock.
No open issues 🎉
What changed in this PR
Expands the Taskade Zapier integration for version 1.3.0 with AI-agent and project searches, improved action configuration, corrected project content handling, and updated listing documentation.
Changes:
- Adds
Find AI AgentandGet Project Contentsearches and registers them in the app. - Updates AI-agent, automation, webhook, and project actions with improved fields, copy, and API-compatible request bodies.
- Adds release notes, README capability documentation, version metadata, and validation tests.
| File | Description |
|---|---|
| src/triggers/publicWebhook.ts | Adds Pro-plan requirements to public webhook trigger descriptions. |
| src/test/app.test.ts | Adds registration, copy-rule, request-body, and search behavior tests. |
| src/searches/getProjectContent.ts | Implements a project search that exports project content as Markdown. |
| src/searches/findAgent.ts | Implements a folder-scoped AI-agent search with name filtering. |
| src/index.ts | Registers the new AI-agent and project-content searches. |
| src/creates/triggerAutomation.ts | Updates automation action labeling, descriptions, and error guidance. |
| src/creates/setTaskNote.ts | Clarifies note input help text. |
| src/creates/runAgent.ts | Replaces raw agent IDs with folder and agent dropdowns plus an inline search. |
| src/creates/customApiCall.ts | Updates API documentation guidance and action copy. |
| src/creates/createTask.ts | Improves task description punctuation and assignment label capitalization. |
| src/creates/createProjectFromTemplate.ts | Corrects the action label title casing. |
| src/creates/createProject.ts | Restricts project creation to the Markdown content type accepted by the endpoint. |
| src/creates/createAgent.ts | Updates persona input guidance. |
| README.md | Documents platform status, Zapier capabilities, release steps, and supported operations. |
| package.json | Bumps the integration version to 1.3.0. |
| CHANGELOG.md | Adds release notes for version 1.3.0. |
Review effort: Lite
#10) The Create Project test now sends a saved "Plain text" value and checks that the option is gone. It failed on master and passes on this branch. The README said that every action and search works on every plan. Run AI Agent and Generate AI Agent use AI credits, so the note now says that the actions and searches do not need Pro.
Code review
|
|
@deanzaka a follow-up on the review of this PR. Commit ba83141 changes only a test and one README sentence. The app definition is the same. Impact: none for Zap users. The Create Project test now proves the fix (it failed on
|
…e steps (#10) The path example in Custom API Call is a version 2 path, and version 2 paths need the Method POST. The help text now says so. The release steps in the README now include the migrate step. The 1.0.8 changelog line keeps only the user-facing result.
Code reviewFinal round on
integrations/src/creates/customApiCall.ts Lines 52 to 55 in 2aadc30
Also checked, with no issue: the changed lines for bugs, the request shapes of the 2 new searches against the public API reference, the git history of the changed lines, the review threads of the earlier pull requests on these files, and the code comments in the changed files. The 1.0.8 changelog line now keeps only the user-facing result. Note for the open pull requests #19, #34 and #36: each one edits the same README status table, so expect a text conflict there after this merge. |
- Custom API Call sends the request only to https://www.taskade.com. A full URL on another host, or on plain http, now fails before the token leaves Zapier. - Custom API Call sends `{}` on POST, PUT and PATCH when Body is empty, because the API rejects an empty JSON body. - Find AI Agent skips the built-in `taa` agent that listAgents puts first, and puts an exact name match first. - The Agent dropdown asks for 100 agents, not the default 20. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deanzaka
left a comment
There was a problem hiding this comment.
Reviewed. I pushed 973cd38 with 4 review fixes: Custom API Call sends the token only to https://www.taskade.com, sends {} on an empty POST/PUT/PATCH body, Find AI Agent skips the built-in taa agent and puts an exact name match first, and the Agent dropdown asks for 100 agents. CI green.
Part of #10 (the issue stays open: agent conversation triggers and automation run results have no public endpoint yet).
This PR makes the Zapier app ready to push as version 1.3.0, with the Taskade Genesis jobs (AI agents, automations, projects) in the action list. The public Zapier version (1.0.8) shows 1 trigger and 1 action. This source holds 6 triggers, 22 actions and 4 searches.
What changes
POST /api/v2/listAgentswith the name filter) and Get Project Content (POST /api/v2/exportProject, the project as Markdown)402below Pro. Task Due keeps its copy, because its internal route has no plan gate.contentTypeenum istext/markdownonly)zapier promotedeveloper.taskade.comlink, em dashes in help text1.2.0(never pushed)1.3.0, withCHANGELOG.mdforzapier pushOverlap with #19
#19 conflicts with
master. Its CI and lint part already landed in #30. Itstask_duemove toPOST /api/v2/subscribeWebhookis not in this PR. That move adds the Pro gate to Task Due, which free users run today on the public version. Its README rewrite overlaps the Status table here. This PR builds onmaster, not on #19.What the source on
masteradds beyond this PRThe promoted version 1.0.8 comes from
hotfix/1.0.8-refresh-client-auth. Task Due, Create Task, the 4 dropdown helpers and the auth config are byte-identical between that branch and this one. A push of 1.3.0 also ships the 5 triggers, 21 actions and 2 searches thatmastergained since then. None of them has a live test Zap yet.Checks
The 34 warnings: 32 x D028 (
cleanInputData), 1 x D004 (media_idin Add Knowledge: the API returns no media name for a dropdown), 1 x D027 (zapier-platform-core17.4.0, the promoted line, against 19.3.0). D028 stays as is on purpose. Create Task checksblock_id != null, andcleanInputData: falsesends empty strings to it.A mutation run (a lower-case label, a description that does not start with a verb, a missing Pro note) fails 3 of the new copy tests, so the tests are not vacuous.
Not changed
task_dueandcreate_taskkeep every input key and output key (Zapier check C002 and C003).yarn.lockis untouched.packages/(n8n) is untouched.