Skip to content

fix(integrations): validate wealthbox, lemlist, emailbison, instantly, attio - #10177

Merged
waleedlatif1 merged 8 commits into
stagingfrom
fix/validate-crm-outreach
Nov 18, 2026
Merged

waleedlatif1 merged 8 commits into
stagingfrom
fix/validate-crm-outreach

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Validates the Attio, Affinity, Mailchimp, Wealthbox, Lemlist, Instantly, Smartlead, Email Bison and Loops integrations against each vendor's official API docs (OpenAPI specs for Attio, Affinity, Instantly, Email Bison and Loops; the Marketing API swagger for Mailchimp; the published endpoint reference for Lemlist, Smartlead and Wealthbox), and fixes what was wrong.

  • Every tool's endpoint, method, params, body and response parsing was checked. Claims that could not be verified were left unchanged.
  • Canvas requests for saved workflows are unchanged, except for the bug fixes listed below. No block type, subBlock, operation, tool, param or output id was renamed or removed, and no OAuth scope was added.
  • Path IDs on Attio, Instantly, Email Bison and Wealthbox now go through safeUrlPathSegment, so an ID such as .. or one containing / is rejected instead of sending the request to a different API path. Email Bison lead lookups by email still accept / (it is percent-encoded).
  • Validated with no change needed: Affinity, Mailchimp, Smartlead, Loops.
  • Left unchanged, needs live verification:
    • Wealthbox Write Contact sends the email address with kind: "email". Wealthbox documents only Work/Home/Mobile/Vacation/Fax/Other.
    • The Lemlist Get Activities "Interested"/"Not Interested" options are valid webhook event types, but they are not in Lemlist's activity-type list.
    • Smartlead's newer docs show Delete Campaign Webhook with the webhook ID in the path and Update Schedule with a nested schedule object. Both contradict Smartlead's older reference, so neither was changed.

Release notes

Wealthbox

  • Write Task now sends the Content field as the task's description. Before, the required Content field was silently dropped.
  • Read Note with no ID still returns the raw list response under note, as before, and now also returns the notes in notes with metadata.totalItems (the number of items in the returned page). As Agent tools, Read Contact and Read Task with no ID now list contacts or tasks the same way (contacts/tasks, raw response under contact/task). On the canvas they still require an ID.
  • Write Task: a Task ID left over from Read Task in the same block no longer reaches the request, so the task is always created. Before, a stale ID could send the create to that task's path.

Lemlist

  • Get Lead by email address now returns the lead's details. Lemlist answers email lookups with a list of leads, and every field used to come back empty.
  • Get Activities with the Email Opened, Email Clicked or Email Replied filter now works. Before, those filters sent a type Lemlist rejects.
  • Send Email now needs only one of Contact ID or Lead ID, matching Lemlist's API. Before, both were required.
  • Lemlist triggers limited to a campaign now also send the campaign ID as the documented query parameter when the webhook is created.

Email Bison

  • List Leads filters (campaign status, tag IDs, excluded tag IDs, and Without Tags = Yes) now apply. Before, Email Bison ignored them because of how the query was encoded. Without Tags = No (the default) sends no filter, as before.
  • List Replies with several tag IDs now filters by all of them, not just the last one. The Read filter is now sent in the form Email Bison accepts.

Instantly

  • Campaign and lead IDs are now validated before the request is sent.

Attio

  • Object, list, record, entry and other IDs are now validated before the request is sent. Matching Attribute on Assert Record is now URL-encoded.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Nov 18, 2026 8:08pm UTC

Request Review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge; no new blocking issues were found.

Summary

This PR fixes request building and returned data across Wealthbox, Lemlist, Email Bison, Instantly, and Attio.

  • Email Bison list requests send filters in the format its API expects.
  • Lemlist email lookups return the lead details from the first matching campaign.
  • Lemlist activity filters use the plural names its API accepts.
  • Lemlist emails can be sent with either a contact ID or a lead ID.
  • Lemlist campaign triggers include the campaign ID in webhook setup requests.
  • Wealthbox agent reads return contact, task, and note lists when no ID is given.
  • Wealthbox task writes use Content as the description and create a new task.
  • Attio, Instantly, and Email Bison reject unsafe IDs before using them in request paths.

No new actionable issues found. On the previous canvas-list finding, waleedlatif1 explicitly retained required contact/task IDs to prevent blank references from silently listing records; no-ID listing remains available to agents.

Reviews (8) · Last reviewed commit: "fix(integrations): never forward a task ..." · Reviewed by Greptile

Comment thread apps/sim/tools/wealthbox/read_task.ts Resolved
@cubic-dev-ai

cubic-dev-ai Bot commented Nov 18, 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.

All reported issues were addressed across 61 files

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

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/wealthbox/read_task.ts Resolved
Comment thread apps/sim/tools/wealthbox/read_task.ts Resolved
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1
waleedlatif1 force-pushed the fix/validate-crm-outreach branch from 26aba7b to 358d939 Compare November 18, 2026 18:41
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 18, 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.

@waleedlatif1
waleedlatif1 force-pushed the fix/validate-crm-outreach branch from 358d939 to f482689 Compare November 18, 2026 18:43

@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

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

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/wealthbox.ts Resolved
@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 18, 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.

@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 18, 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 61 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

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 18, 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.

All reported issues were addressed across 62 files

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

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/wealthbox.ts Resolved
Comment thread apps/sim/tools/wealthbox/write_task.ts Resolved
Comment thread apps/sim/tools/wealthbox/read_note.ts Resolved
@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 18, 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.

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1
waleedlatif1 force-pushed the fix/validate-crm-outreach branch from e2f37ff to 0204ee0 Compare November 18, 2026 19:59
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 18, 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.

@waleedlatif1
waleedlatif1 force-pushed the fix/validate-crm-outreach branch from 0204ee0 to 91a65ff Compare November 18, 2026 20:02
@waleedlatif1
waleedlatif1 merged commit 878ce7d into staging Nov 18, 2026
83 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/validate-crm-outreach branch November 18, 2026 20:20

This branch was successfully deployed

1 active deployment
Preview — 91a65ffa Deployed Nov 18, 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