Skip to content

feat(automations): endpoint to duplicate - #1071

Merged
gabrielmfern merged 3 commits into
canaryfrom
feature/dev-1704-node-sdk-internal
Aug 13, 2026
Merged

feat(automations): endpoint to duplicate#1071
gabrielmfern merged 3 commits into
canaryfrom
feature/dev-1704-node-sdk-internal

Conversation

@gabrielmfern

@gabrielmfern gabrielmfern commented Aug 13, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Gabriel Miranda gabriel@resend.com


Summary by cubic

Adds automations.duplicate(id) to the resend Node SDK so users can copy an automation. Previously duplication was not supported; now POST /automations/:id/duplicate returns { object: 'automation', id }.

  • Implements Automations.duplicate(), typed as DuplicateAutomationResponse (no version_id) and exported via the interfaces barrel.
  • Adds a success spec asserting a POST to /automations/{id}/duplicate and response shape.
  • Bumps package version to 6.20.0.
  • Aligns with Linear DEV-1704 (Headless Dashboard rollout).

Written for commit e23bd5e. Summary will update on new commits.

Review in cubic

Signed-off-by: Gabriel Miranda <gabriel@resend.com>
Signed-off-by: Gabriel Miranda <gabriel@resend.com>
@gabrielmfern gabrielmfern self-assigned this Aug 13, 2026
@gabrielmfern
gabrielmfern requested a review from a team as a code owner August 13, 2026 20:12
Signed-off-by: Gabriel Miranda <gabriel@resend.com>
@pkg-pr-new

pkg-pr-new Bot commented Aug 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1071

commit: e23bd5e

@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.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

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

Requires human review: Adds a new public SDK method (automations.duplicate) calling a new endpoint, expanding the API contract; feature additions warrant human review of the endpoint semantics.

Re-trigger cubic

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.

2 participants