Skip to content

fix(integrations): validate shopify, brex, ramp, zoom, calendly, cal.com, typeform, webflow and wordpress - #10074

Merged
waleedlatif1 merged 4 commits into
stagingfrom
sweep2/v4
Nov 16, 2026
Merged

waleedlatif1 merged 4 commits into
stagingfrom
sweep2/v4

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Validates the Shopify, Brex, Ramp, Zoom, Calendly, Cal.com, Typeform, Webflow and WordPress integrations against each vendor's official API spec, fixes what was wrong, and moves every block mapper in scope onto mapperOperation (added in #10070) so the operation is read from the tool-call context.

  • Every tool's endpoint, method, params, body, response parsing, outputs and auth/scopes was checked against the vendor's machine-readable spec. Claims that could not be verified were left unchanged.
  • Block mappers no longer read params.operation, which is undefined when a block runs as an Agent tool, in Pi or in Human-in-the-loop. Each operation's branch now runs on those paths too. Every newly live branch keeps the model's own args (via toolCallArg), accepts already-typed values, and never overwrites an arg with undefined.
  • Canvas requests for saved workflows are unchanged, except for the bug fixes listed below. No subBlock, operation, tool, param or output id was renamed or removed, and no OAuth scope was added.
  • The check:mapper-operation baseline shrinks for every block fixed here, and generated tool metadata and docs are regenerated.
  • Zoom: deleting all of a meeting's recordings (Recording ID left blank) needs the cloud_recording:delete:meeting_recording scope, which the Zoom provider does not request yet. Adding it would make connected Zoom users reconnect, so the scope change is left for a product decision. Single-file deletes work as before.

Release notes

Shopify

  • List tools (products, orders, customers, inventory items, locations, collections) used as Agent tools now honor the search query, sort key, and order status an agent supplies. Before, these were silently dropped and the agent got the unfiltered first page.
  • Agent tool calls to every Shopify operation now run that operation's own mapping and input handling. Before, each call used the List Products mapping. Cancel Order no longer fails with "Cancel reason is required" when the agent supplies a reason, and it defaults restock to false as it does on the canvas. Update Order and Create/Update Customer keep the agent's note, email, phone, and tags.
  • Product, order, and customer Tags now also accept an array (for example from a block reference). Before, an array made the comma-split throw and the field mapping fall back to raw inputs.
  • List Locations adds a "Created At" sort option.
  • Get Collection with no collection ID now returns "Collection ID is required" instead of an internal TypeError.

Brex

  • Get Company now returns the real accountType (BREX_CLASSIC or BREX_EMPOWER). Before, it was always null.
  • Create Vendor and Update Vendor no longer send a stale List Users email filter (an advanced field saved earlier on the same block) as the vendor's email. Before, Update Vendor could overwrite the vendor's email with it.
  • Create Spend Limit no longer adds members from a stale List Spend Limits member filter left saved on the block.
  • Brex used as an Agent tool now honors the values pinned on the tool row: Create Transfer's cash account, budget, and spend-limit name, spend-limit period and members, and vendor email and phone. Before, these were ignored and only the model's arguments were sent.

Ramp

  • The List Reimbursements State filter now includes Payroll Failed, Payroll Submitted, and Reimbursed Via Payroll.

Zoom

  • On Agent tool calls (also Pi and Human-in-the-loop v2), the block's field mapping now runs. A row's From/To Date filters List Recordings, Delete Action "Permanently Delete" really deletes instead of trashing, Meeting Type Filter and Update Topic apply, meeting type and page size go out as numbers, and an "Auto Recording: None" row value is no longer sent as settings.auto_recording='none'. A numeric meeting ID from the model is accepted. Values the model sends under the tool's own param names (type, topic, from, to, action) still apply when the row field is empty.
  • Update Meeting: Meeting Type now defaults to "No change" for new blocks, so renaming a recurring meeting no longer turns it into a one-off scheduled meeting. Existing saved Update Meeting blocks still have "Scheduled" saved and should switch Meeting Type to "No change". New Create Meeting blocks no longer pre-save 2, but an empty value still creates a Scheduled meeting.
  • Update Meeting as an Agent tool: Auto Recording defaults to "No change" on new tool rows and new blocks, so agent-driven updates no longer turn a meeting's auto-recording off, and the model can now set local or cloud recording. A stored "None" on Update Meeting still means no change, as it already did on the canvas.
  • Create Meeting: an "Auto Recording: None" value is no longer sent as settings.auto_recording='none'. Zoom's default on create is already none, so the resulting meeting is the same. Canvas requests are unchanged.
  • Get Meeting Recordings, Delete Recording, and List Past Participants now double-encode meeting UUIDs as Zoom requires (UUIDs that start with / or contain //; any / for past participants). Before, these requests failed with "meeting does not exist". Numeric IDs and plain UUIDs are unchanged.
  • Known limitation: Delete Recording with no Recording ID (delete all of a meeting's recordings) needs the cloud_recording:delete:meeting_recording scope. Sim's Zoom OAuth connection does not request that scope yet, so this path fails for OAuth users. Deleting one file by Recording ID works. Once the scope is added, existing Zoom connections must reconnect before delete-all will work.
  • Descriptions: cancellation-email options now say who is emailed, List Recordings states the one-month maximum range and the today-only default, and the webinar follow-up template is now a meeting follow-up template.

Calendly

  • List Event Types: turning the Active Only switch on and then off now returns all event types, as the field describes. Before, a switch saved as off sent active=false, and Calendly returned only inactive event types.
  • List Event Types called with neither user nor organization now fails with a clear error before any request is sent. Before, Calendly returned a 400.
  • Book Meeting has new optional advanced fields, Location ({kind, location}) and Questions and Answers, so you can book event types that need a location set by the invitee or answers to required booking questions.
  • Agents can now set the invitee email filter (List Scheduled Events), the email filter (List Event Invitees, List Organization Memberships), and the cancellation reason (Cancel Event).
  • An ID that contains ?, #, or similar is now encoded in the request path, and . or .. is rejected. Valid UUIDs, URIs, and me work as before.
  • Create Event Invitee: the AI wand on the Event Guests and Questions and Answers fields now generates JSON arrays. Before, it could produce a single object, which Calendly rejects. Saved values and requests are unchanged.

Cal.com

  • Cal.com used as an Agent tool (or in Pi / Human-in-the-loop) now honors values pinned in the tool row: attendee name/email/time zone/phone, booking status filter, event type picked in the selector, event type duration, and schedule. Comma-separated guests are sent as a list and numeric IDs as numbers. Before, these were dropped or sent raw.
  • Create Booking: Guests set to a reference that resolves to an array no longer fails with "guests.split is not a function".
  • Update Event Type: an Agent can now set the fields to update (title, slug, duration, description, slot interval, notice, buffers, schedule, disable guests). Before, only the event type ID was exposed, so the update sent an empty body.
  • List Bookings has new optional filters for attendee email, starts after, ends before, and sort by start, plus limit and offset. Existing workflows send the same requests.
  • Block outputs now list data and pagination, where the response actually lives (for example <calcom.data.uid>). Event type outputs also list bookingUrl, hidden, and ownerId.
  • Booking, schedule, and event type IDs are rejected if they contain path traversal (.. or a separator).

Typeform

  • Retrieve Responses has a new optional advanced Response Types field (tool param responseType, for example partial,completed) that returns partial responses. When it is set, the Completed filter is not sent. Typeform's own default, completed only, is what the existing "All Responses" option has always returned.
  • A Form ID that contains / or \, or is . or .., is now rejected before the request, instead of being sent to a different Typeform endpoint. Surrounding whitespace in a Form ID is trimmed.
  • Create/Update Form as an Agent tool: fields, settings, and patch operations passed as JSON arrays or objects (not JSON text) now work. Before, they failed with "Invalid JSON input" and the request went out with unconverted params.
  • Update Form: the AI-assist prompt now generates only the PATCH paths Typeform accepts. Before, it suggested /fields, screens, and /settings/language, which Typeform rejects.
  • Download File: Response ID, Field ID, and Filename are now marked required on the canvas, and agents can now fill Field ID and Filename.
  • Download File now refuses a form ID, response ID, field ID, or filename that is exactly . or .. and returns a 400 error. Before, such a value was silently resolved to another Typeform API route. No real Typeform ID or filename has this shape, so saved workflows are unaffected.
  • Create Form: added the documented form types Classification, Score, Branching, Classification Branching, and Score Branching.

Webflow

  • The Webflow block now applies its per-operation handling on Agent tool calls (and in Pi / Human-in-the-loop). Item IDs are trimmed, and a JSON-string fieldData is parsed for create/update. Before, these steps ran only on the canvas.
  • Collection and item IDs are now validated before building the request URL. An ID with surrounding whitespace is trimmed (it used to produce a URL with spaces). An ID that is ., .., or contains / is rejected instead of sending the request to a different Webflow path.
  • List Items: a non-numeric Offset or Limit is now omitted instead of being sent as NaN.
  • Site ID is no longer required on the item tools, because Webflow's item endpoints don't take it. The block's Site field is unchanged.
  • Get/Create/Update Item outputs now expose the item's fields (id, fieldData, lastPublished, ...) for tag references. Output keys are unchanged.

WordPress

  • Update Post and Update Page: new blocks default Status to "No change" and no longer publish drafts, pending, or private items on every update. Left unset, the post or page keeps its current status. Saved workflows keep their stored status.
  • Create Post and Create Page: a newly added Agent tool row no longer pre-fills Status = Publish. It shows "No change", so the model's status applies, or WordPress's own default (draft) when the model sends none. Agent rows saved before this change keep their stored "publish".
  • Update Comment: the hidden Comment Status field now defaults to "No change" on new blocks, so editing a comment no longer approves it. Saved workflows keep their stored value.
  • List Comments: Order By Title, Slug, or Modified (always HTTP 400 before) is now omitted, so the request succeeds with WordPress's default order.
  • List Comments: the "approved" status filter now matches approved comments. It returned nothing before.
  • Get Current User now requests the edit context, so its response includes username, email, first and last name, and roles. These came back empty before.
  • Get User: the username, first_name, last_name, email, and roles outputs are now marked optional (edit context only), because WordPress omits them in the default view context. Requests and output keys are unchanged.
  • In blocks saved with legacy advanced mode, a blank Parent / Menu Order / Featured Media field is now omitted. Before, it was sent as 0, which moved updated pages and categories to top level, reset menu order, removed featured images, and limited List Pages to top-level pages. Featured Image ID, Parent, Menu Order, and Parent Category values stored as null are likewise treated as blank instead of sending 0.
  • Malformed site IDs or IDs with path separators are rejected, and ? and # are encoded instead of altering the request.
  • A blank or invalid numeric ID now fails with a clear "postId is required" style error instead of requesting /posts/NaN.
  • As an Agent tool, models can now set comment parent/author fields, category parent, search type/subtype, a publish date (scheduling), and context=edit on list users/comments.

Review follow-ups

  • WordPress create/update post now fails fast on a non-numeric category or tag ID instead of sending it to WordPress.
  • Brex Create Spend Limit now rejects a buffer percentage that isn't an integer from 0 to 100 before calling Brex.
  • Typeform file downloads keep the filename exactly as entered (no trimming), matching earlier behavior.

Testing

  • Each integration (or batch of blocks) was fixed by one agent and then reviewed by independent adversarial reviewers until it came back clean. Integrations got a vendor-spec/auth lens and a canvas-vs-tool-call/backward-compat lens; batches got the canvas-vs-tool-call lens.
  • Regression tests call each mapper the way the Agent path does, params(modelArgs, { operation }) without an operation in params, and were confirmed to fail on the pre-fix code.
  • Ran the touched test files, biome, check:mapper-operation, check:explicit-any, check:tool-metadata, check:docs, check:docs-manifest, check:block-successors, check:deployment-config, check:canvas-sentences, check:test-patterns, check:utils, check:comment-hygiene, check:source-conventions and check:integration-catalog locally. CI runs type-check and the full suite.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 16, 2026 1:14am UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The changes since the previous review appear safe to merge.

Summary

Updates nine integrations with fixes for tool-call inputs, request paths, defaults, filters, and output descriptions.

  • Shopify tools use their own operation and keep the values supplied to them.
  • WordPress tools keep update defaults and pass the right fields to each operation.
  • Zoom meeting and recording calls use their operation settings and valid request values.
  • Cal.com calls use pinned and model values, with more booking filters and update fields.
  • Calendly bookings accept location and answers, and resource paths use safe IDs.
  • Brex calls return company type and keep pinned values on tool requests.
  • Typeform tools accept response types and structured form inputs.
  • Webflow item calls map their inputs and return fields for workflow references.
  • Ramp reimbursement filters include the additional payroll states.
  • Integration configuration and check baselines reflect the updated integration code.

Reviews (2) · Last reviewed commit: "fix(integrations): address v4 review fin..." · Reviewed by Greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 139 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/wordpress/utils.ts Resolved
Comment thread apps/sim/blocks/blocks/wordpress.ts Resolved
Comment thread apps/sim/blocks/blocks/brex.ts Resolved
Comment thread apps/sim/tools/webflow/list_items.ts Resolved
- wordpress: reject unparseable term IDs instead of dropping them, map date explicitly, type search ids as number | string
- typeform: keep filename whitespace when building the file download URL
- brex: reject a limit buffer percentage outside Brex's 0-100 integer range
- calcom: type bookingUrl, hidden and ownerId on event type responses
- tests: call tool builders through ToolConfig instead of a type assertion
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 139 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit c7abe25 into staging Nov 16, 2026
92 of 94 checks passed
@waleedlatif1
waleedlatif1 deleted the sweep2/v4 branch November 16, 2026 04:00

This branch was previously deployed

1 inactive deployment
Preview — 76803267 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant