Repository navigation
Conversation
|
@porenes is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
[Medium impact] Taplio actions reach the LinkedIn accounts of users who connect their credentials. Fix the dropped agent status filters before merging. Findings
SummaryAdds Taplio with 32 tools, saved API-key credentials, a workflow block, SDK names, icons, and documentation.
Reviews (1) · Last reviewed commit: "feat(taplio): add Taplio integration" · Reviewed by Greptile |
| status: | ||
| operation === 'taplio_list_posts' | ||
| ? params.postStatus || undefined | ||
| : operation === 'taplio_list_comment_drafts' | ||
| ? params.commentDraftStatus || undefined | ||
| : undefined, |
There was a problem hiding this comment.
Agent status filters disappear
When an agent calls taplio_list_posts or taplio_list_comment_drafts with status, this mapper replaces it with undefined unless the user pinned postStatus or commentDraftStatus. Both tools advertise status to the model, so requests for scheduled posts or pending comments silently return all statuses instead.
Use blockFieldOrToolArg(context, blockValue, params.status) for both filters so the model's value survives when the block field is blank.
There was a problem hiding this comment.
Good catch, fixed in a4441ce. Both list operations now use blockFieldOrToolArg(context, blockValue, params.status), so an agent's status is kept when the block field is blank, a pinned block value still wins, and a stale value on the canvas is still dropped.
Adds a Taplio block and 32 tools on the Taplio REST API (api.taplio.com/v1): post drafts, media, scheduling and publishing, account and post analytics, the inspiration library, engagement discovery, comment drafts, likes and connection requests (queued actions stay cancellable until Taplio sends them). Auth is a saved token credential (taplio-service-account) verified with a one-draft list call, following the Higgsfield pattern. Generated artifacts regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
a4441ce to
e222708
Compare
Summary
Adds a Taplio integration: a
taplioblock and 32 tools on the public Taplio REST API (https://api.taplio.com/v1, OpenAPI spec athttps://api.taplio.com/v1.json). Taplio is a LinkedIn growth platform for creators and B2B teams.taplio-service-account), following the Higgsfield pattern. The key is verified at connect time with one read (GET /v1/posts/drafts?limit=1); a bad key gets a 401. Tools take a hiddenaccessTokenand declarecredentialKind: 'service-account'; the block uses theoauth-inputpicker with a manual credential ID in advanced mode, and the service is registered intokenCredentialIntegrationTypes.read, everything else iswrite.X-Taplio-Source: simso we can see usage coming from Sim.currentColoron#3556E6.Product update (if relevant)
Sim users with a paid Taplio plan can connect their Taplio API key (Taplio > Settings > Integrations) and let agents draft LinkedIn posts for review, keep a content calendar on schedule, prepare comments for approval, and report on post performance. Some actions need a higher Taplio plan; the API returns a clear error when the plan does not cover one.
Type of Change
Testing
bun run generate,bun run type-check,bun run check:audits,bun run apps/sim/scripts/check-block-registry.ts origin/stagingandcheck-canvas-sentences --block=taplio(32/32) pass.blocks,tools,lib/credentials,lib/oauth,lib/integrations: all pass except two tests that also fail on a cleanstagingcheckout on my machine (netsuite.test.tsEC curve,bitbucket/utils.test.ts), unrelated to this change.requestandtransformResponse: the credential validator (valid key accepted, invalid key rejected), every read, cursor pagination, a post draft created, updated, given an image, scheduled, unscheduled and deleted, and a comment draft created, updated and deleted, plus 404 paths. Publish Now, Send Comment Draft, Like Post and Send Connection Request were not run, since they act on a real LinkedIn profile.Checklist
Screenshots/Videos
Not applicable (new integration block; no changes to existing UI).
🤖 Generated with Claude Code