Skip to content

Conversation

@jcortes
Copy link
Collaborator

@jcortes jcortes commented Nov 26, 2025

WHY

Resolves #19173

Summary by CodeRabbit

  • New Features

    • Added "List All Quick Replies" action to retrieve quick replies, with optional filter by communication type (Messaging or Email).
    • Added a public API to fetch quick replies.
  • Chores

    • Package updated to v0.6.0.
    • Version bumps across multiple Trengo actions and event sources.

✏️ Tip: You can customize this high-level summary in your review settings.

@jcortes jcortes self-assigned this Nov 26, 2025
@vercel
Copy link

vercel bot commented Nov 26, 2025

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

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
pipedream-docs Ignored Ignored Nov 27, 2025 2:38pm
pipedream-docs-redirect-do-not-edit Ignored Ignored Nov 27, 2025 2:38pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Walkthrough

Version bumps across many Trengo actions and sources, package version bumped to 0.6.0, a new "List All Quick Replies" action was added, and a corresponding listQuickReplies() method was added to the Trengo app.

Changes

Cohort / File(s) Summary
Version bumps (0.0.2 → 0.0.3)
components/trengo/actions/attach-label/attach-label.mjs, components/trengo/actions/get-label/get-label.mjs, components/trengo/actions/get-message/get-message.mjs, components/trengo/actions/list-labels/list-labels.mjs
Updated version field in exported action objects
Version bumps (0.0.4 → 0.0.5)
components/trengo/actions/list-messages/list-messages.mjs, components/trengo/actions/list-tickets/list-tickets.mjs, components/trengo/sources/ticket-closed/ticket-closed.mjs, components/trengo/sources/ticket-reopened/ticket-reopened.mjs
Updated version field in exported action/source objects
Version bumps (0.0.5 → 0.0.6)
components/trengo/actions/list-articles/list-articles.mjs, components/trengo/sources/voice-call-recorded/voice-call-recorded.mjs
Updated version field in exported action/source objects
Version bumps (0.0.6 → 0.0.7)
components/trengo/sources/new-inbound-message/new-inbound-message.mjs, components/trengo/sources/new-internal-note/new-internal-note.mjs, components/trengo/sources/new-outbound-message/new-outbound-message.mjs, components/trengo/sources/phone-call-ended/phone-call-ended.mjs, components/trengo/sources/phone-call-missed/phone-call-missed.mjs, components/trengo/sources/phone-call-started/phone-call-started.mjs, components/trengo/sources/ticket-label-added/ticket-label-added.mjs
Updated version field in exported source objects
Version bumps (0.0.7 → 0.0.8)
components/trengo/actions/create-contact/create-contact.mjs, components/trengo/actions/find-contacts/find-contacts.mjs, components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs, components/trengo/actions/send-a-message/send-a-message.mjs, components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs, components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs
Updated version field in exported action objects
Single action version bump (0.0.1 → 0.0.2)
components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs
Updated version field in exported action object
New action
components/trengo/actions/list-all-quick-replies/list-all-quick-replies.mjs
Added action implementing "List All Quick Replies" with filterType prop and call to app.listQuickReplies()
App API addition
components/trengo/trengo.app.mjs
Added listQuickReplies(args = {}) method that requests GET /quick_replies via existing request helper
New constants
components/trengo/common/constants.mjs
Added FILTER_TYPES constant array ["MESSAGING","EMAIL"]
Package version update
components/trengo/package.json
Bumped package version from 0.5.0 to 0.6.0

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Action as ListAllQuickReplies
    participant App as TrengoApp
    participant API as TrengoAPI

    User->>Action: trigger action (filterType)
    Action->>App: listQuickReplies({ params: { type: filterType } })
    App->>API: GET /quick_replies
    API-->>App: quick replies response
    App-->>Action: response
    Action-->>User: return response + summary
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Review focus: new action list-all-quick-replies and new app method listQuickReplies(); confirm request path/params and constant usage.
  • Spot-check: components/trengo/common/constants.mjs, components/trengo/trengo.app.mjs, components/trengo/actions/list-all-quick-replies/list-all-quick-replies.mjs.

Possibly related PRs

Suggested labels

User submitted

Suggested reviewers

  • GTFalcao
  • michelle0927

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title '[ACTION] trengo - list quick replies' clearly summarizes the main change: adding a new action to list quick replies in the Trengo component.
Description check ✅ Passed The PR description provides a reference to the linked issue (#19173) but the template requires a 'WHY' section which is present but minimal.
Linked Issues check ✅ Passed The PR implements the 'list all quick replies' action as specified in issue #19173, adding the listQuickReplies method to trengo.app.mjs, creating the action module, and defining constants.
Out of Scope Changes check ✅ Passed All changes are in-scope: version bumps across Trengo actions/sources align with the new action addition, constants file was added for the new feature, and the package version was bumped accordingly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch trengo-new-component-list-all-quick-replies

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 627b570 and f0fc852.

📒 Files selected for processing (28)
  • components/trengo/actions/attach-label/attach-label.mjs (1 hunks)
  • components/trengo/actions/create-contact/create-contact.mjs (1 hunks)
  • components/trengo/actions/find-contacts/find-contacts.mjs (1 hunks)
  • components/trengo/actions/get-label/get-label.mjs (1 hunks)
  • components/trengo/actions/get-message/get-message.mjs (1 hunks)
  • components/trengo/actions/list-all-quick-replies/list-all-quick-replies.mjs (1 hunks)
  • components/trengo/actions/list-articles/list-articles.mjs (1 hunks)
  • components/trengo/actions/list-labels/list-labels.mjs (1 hunks)
  • components/trengo/actions/list-messages/list-messages.mjs (1 hunks)
  • components/trengo/actions/list-tickets/list-tickets.mjs (1 hunks)
  • components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs (1 hunks)
  • components/trengo/actions/send-a-message/send-a-message.mjs (1 hunks)
  • components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs (1 hunks)
  • components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs (1 hunks)
  • components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs (1 hunks)
  • components/trengo/common/constants.mjs (1 hunks)
  • components/trengo/package.json (1 hunks)
  • components/trengo/sources/new-inbound-message/new-inbound-message.mjs (1 hunks)
  • components/trengo/sources/new-internal-note/new-internal-note.mjs (1 hunks)
  • components/trengo/sources/new-outbound-message/new-outbound-message.mjs (1 hunks)
  • components/trengo/sources/phone-call-ended/phone-call-ended.mjs (1 hunks)
  • components/trengo/sources/phone-call-missed/phone-call-missed.mjs (1 hunks)
  • components/trengo/sources/phone-call-started/phone-call-started.mjs (1 hunks)
  • components/trengo/sources/ticket-closed/ticket-closed.mjs (1 hunks)
  • components/trengo/sources/ticket-label-added/ticket-label-added.mjs (1 hunks)
  • components/trengo/sources/ticket-reopened/ticket-reopened.mjs (1 hunks)
  • components/trengo/sources/voice-call-recorded/voice-call-recorded.mjs (1 hunks)
  • components/trengo/trengo.app.mjs (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📚 Learning: 2025-10-20T00:28:38.772Z
Learnt from: js07
Repo: PipedreamHQ/pipedream PR: 18744
File: components/slack/slack.app.mjs:0-0
Timestamp: 2025-10-20T00:28:38.772Z
Learning: In components/slack/slack.app.mjs, the assistantSearch method uses sdk().apiCall() directly instead of makeRequest because the slack/web-api npm package doesn't expose assistant.search.context as a method on WebClient. This direct usage is intentional and necessary when Slack API methods are not yet exposed in the SDK.

Applied to files:

  • components/trengo/trengo.app.mjs
📚 Learning: 2025-10-20T01:01:02.970Z
Learnt from: js07
Repo: PipedreamHQ/pipedream PR: 18744
File: components/slack_v2/actions/send-large-message/send-large-message.mjs:49-64
Timestamp: 2025-10-20T01:01:02.970Z
Learning: In components/slack_v2/actions/send-large-message/send-large-message.mjs, the metadata_event_payload prop is typed as string, so the code only needs to handle string-to-JSON parsing and does not need to handle object inputs.

Applied to files:

  • components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs
  • components/trengo/actions/list-messages/list-messages.mjs
  • components/trengo/actions/get-message/get-message.mjs
  • components/trengo/actions/send-a-message/send-a-message.mjs
  • components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs
  • components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs
📚 Learning: 2024-10-30T15:24:39.294Z
Learnt from: jcortes
Repo: PipedreamHQ/pipedream PR: 14467
File: components/gainsight_px/actions/create-account/create-account.mjs:4-6
Timestamp: 2024-10-30T15:24:39.294Z
Learning: In `components/gainsight_px/actions/create-account/create-account.mjs`, the action name should be "Create Account" instead of "Create Memory".

Applied to files:

  • components/trengo/actions/create-contact/create-contact.mjs
📚 Learning: 2024-07-04T18:11:59.822Z
Learnt from: GTFalcao
Repo: PipedreamHQ/pipedream PR: 12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-07-04T18:11:59.822Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.

Applied to files:

  • components/trengo/actions/get-message/get-message.mjs
  • components/trengo/actions/send-a-message/send-a-message.mjs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Verify TypeScript components
🔇 Additional comments (26)
components/trengo/sources/voice-call-recorded/voice-call-recorded.mjs (1)

7-7: Version bump only – looks good

Source behavior is unchanged; the version increment to "0.0.6" is consistent with the broader Trengo release.

components/trengo/package.json (1)

3-3: Package version bump is appropriate

Updating the Trengo package to "0.6.0" aligns with the new action/app surface added in this PR.

components/trengo/sources/ticket-reopened/ticket-reopened.mjs (1)

7-7: Ticket Reopened source version bump is fine

Only the version is updated to "0.0.5"; existing webhook handling and metadata logic remain intact.

components/trengo/sources/ticket-label-added/ticket-label-added.mjs (1)

7-7: Ticket Label Added source version bump is fine

Incrementing the version to "0.0.7" without altering logic is consistent with the release pattern in this PR.

components/trengo/actions/attach-label/attach-label.mjs (1)

7-7: Attach Label action version bump is appropriate

Version updated to "0.0.3" with unchanged behavior; the existing attach logic and summary export remain correct.

components/trengo/actions/list-tickets/list-tickets.mjs (1)

8-8: List Tickets action version bump is fine

Only the version is updated to "0.0.5"; the tickets streaming, filtering, and $summary logic remain unchanged and coherent.

components/trengo/actions/create-contact/create-contact.mjs (1)

6-6: Create Contact action version bump and naming look correct

Version increment to "0.0.8" is straightforward; the action name and behavior remain consistent with a “Create Contact” operation and the documented API.

Based on learnings, ...

components/trengo/sources/phone-call-started/phone-call-started.mjs (1)

7-7: Version bump is consistent and non-breaking

The source metadata version update to 0.0.7 is isolated and does not affect runtime behavior.

components/trengo/actions/find-contacts/find-contacts.mjs (1)

7-7: Action version bump looks good

Incrementing the action version to 0.0.8 is aligned with the rest of the Trengo actions and doesn’t change behavior.

components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs (1)

7-7: Version increment is appropriate

Bumping the action version to 0.0.8 is consistent with other Trengo actions and introduces no functional change.

components/trengo/actions/get-message/get-message.mjs (1)

7-7: Safe version bump

Updating the action version to 0.0.3 is isolated metadata change; existing props and run logic remain sound.

components/trengo/actions/get-label/get-label.mjs (1)

7-7: Label action version bump OK

The version change to 0.0.3 is consistent with the rest of the Trengo action set and doesn’t alter behavior.

components/trengo/actions/list-labels/list-labels.mjs (1)

8-8: List-labels version update approved

The bump to version 0.0.3 is a straightforward metadata update; existing pagination and summary logic remain appropriate.

components/trengo/sources/new-outbound-message/new-outbound-message.mjs (1)

7-7: Outbound source version bump is fine

Setting the source version to 0.0.7 matches the other Trengo sources and doesn’t impact runtime behavior.

components/trengo/sources/new-inbound-message/new-inbound-message.mjs (1)

7-7: Inbound source version bump approved

The change to version 0.0.7 is a simple metadata update and keeps behavior unchanged.

components/trengo/actions/send-a-message/send-a-message.mjs (1)

6-6: LGTM!

Version bump is consistent with the PR-wide versioning updates.

components/trengo/sources/phone-call-ended/phone-call-ended.mjs (1)

7-7: LGTM!

Version bump aligns with the broader versioning updates in this PR.

components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs (1)

5-5: LGTM!

Version bump is consistent with the PR-wide versioning updates.

components/trengo/sources/ticket-closed/ticket-closed.mjs (1)

7-7: LGTM!

Version bump aligns with the broader versioning updates in this PR.

components/trengo/actions/list-articles/list-articles.mjs (1)

7-7: LGTM!

Version bump is consistent with the PR-wide versioning updates.

components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs (1)

6-6: LGTM! Version bump aligns with PR changes.

The version increment is appropriate as part of the broader package update to 0.6.0.

components/trengo/actions/list-messages/list-messages.mjs (1)

8-8: LGTM! Version bump aligns with PR changes.

The version increment is appropriate as part of the broader package update to 0.6.0.

components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs (1)

7-7: LGTM! Version bump aligns with PR changes.

The version increment is appropriate as part of the broader package update to 0.6.0.

components/trengo/trengo.app.mjs (1)

374-379: LGTM! New method follows existing patterns.

The listQuickReplies method is correctly implemented and consistent with other list methods in the app (e.g., listLabels, getContacts).

components/trengo/common/constants.mjs (1)

1-6: LGTM! Constants properly externalized.

The FILTER_TYPES constant is correctly defined and addresses previous feedback to move these values to a dedicated constants file.

components/trengo/sources/phone-call-missed/phone-call-missed.mjs (1)

7-7: LGTM! Version bump aligns with PR changes.

The version increment is appropriate as part of the broader package update to 0.6.0.

Tip

📝 Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. 📝 Description — Summarize the main change in 50–60 words, explaining what was done.
  2. 📓 References — List relevant issues, discussions, documentation, or related PRs.
  3. 📦 Dependencies & Requirements — Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. 📊 Contributor Summary — Include a Markdown table showing contributions:
    | Contributor | Lines Added | Lines Removed | Files Changed |
  5. ✔️ Additional Notes — Add any extra reviewer context.
    Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (5)
components/trengo/sources/new-internal-note/new-internal-note.mjs (1)

7-20: Summary text does not match internal note event type.

The source is "New Internal Note Event", but summary still says "New ticket label added event", which is confusing for users inspecting emitted events. Consider aligning the text with the event type.

-        summary: `New ticket label added event: ${event?.body?.message}`,
+        summary: `New internal note event: ${event?.body?.message}`,
components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs (1)

7-54: Fix typo in configuration error message.

The validation logic is sound, but the thrown message contains a typo: "Attachement". This is user-facing and worth correcting.

-      throw new ConfigurationError("Either `Body` or `Attachement IDs` should be set!");
+      throw new ConfigurationError("Either `Body` or `Attachment IDs` should be set!");
components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs (1)

22-27: Optional: Fix typo in prop name.

The prop name recepientPhoneNumber is misspelled (should be recipientPhoneNumber). While this is pre-existing code and not introduced by this PR, consider fixing it for API consistency.

components/trengo/sources/new-outbound-message/new-outbound-message.mjs (1)

19-19: Optional: Fix typo in summary message.

The word "outbund" should be "outbound". While this is pre-existing code and not introduced by this PR, consider fixing it for better user experience.

Apply this diff to fix the typo:

-        summary: `New outbund message event: ${event?.body?.message}`,
+        summary: `New outbound message event: ${event?.body?.message}`,
components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs (1)

78-79: Summary message text doesn’t reflect the action behavior

The summary says “The contact has been created”, but this action sends a WhatsApp template message, not a contact-creation call. This can confuse users inspecting step output.

Consider updating to something aligned with the action, for example:

-    $.export("$summary", `The contact has been created. (${resp.name} ID:${resp.id})`);
-    return resp;
+    $.export("$summary", "WhatsApp template message sent successfully");
+    return resp;
📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 10ad254 and 627b570.

📒 Files selected for processing (27)
  • components/trengo/actions/attach-label/attach-label.mjs (1 hunks)
  • components/trengo/actions/create-contact/create-contact.mjs (1 hunks)
  • components/trengo/actions/find-contacts/find-contacts.mjs (1 hunks)
  • components/trengo/actions/get-label/get-label.mjs (1 hunks)
  • components/trengo/actions/get-message/get-message.mjs (1 hunks)
  • components/trengo/actions/list-all-quick-replies/list-all-quick-replies.mjs (1 hunks)
  • components/trengo/actions/list-articles/list-articles.mjs (1 hunks)
  • components/trengo/actions/list-labels/list-labels.mjs (1 hunks)
  • components/trengo/actions/list-messages/list-messages.mjs (1 hunks)
  • components/trengo/actions/list-tickets/list-tickets.mjs (1 hunks)
  • components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs (1 hunks)
  • components/trengo/actions/send-a-message/send-a-message.mjs (1 hunks)
  • components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs (1 hunks)
  • components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs (1 hunks)
  • components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs (1 hunks)
  • components/trengo/package.json (1 hunks)
  • components/trengo/sources/new-inbound-message/new-inbound-message.mjs (1 hunks)
  • components/trengo/sources/new-internal-note/new-internal-note.mjs (1 hunks)
  • components/trengo/sources/new-outbound-message/new-outbound-message.mjs (1 hunks)
  • components/trengo/sources/phone-call-ended/phone-call-ended.mjs (1 hunks)
  • components/trengo/sources/phone-call-missed/phone-call-missed.mjs (1 hunks)
  • components/trengo/sources/phone-call-started/phone-call-started.mjs (1 hunks)
  • components/trengo/sources/ticket-closed/ticket-closed.mjs (1 hunks)
  • components/trengo/sources/ticket-label-added/ticket-label-added.mjs (1 hunks)
  • components/trengo/sources/ticket-reopened/ticket-reopened.mjs (1 hunks)
  • components/trengo/sources/voice-call-recorded/voice-call-recorded.mjs (1 hunks)
  • components/trengo/trengo.app.mjs (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📚 Learning: 2025-10-20T01:01:02.970Z
Learnt from: js07
Repo: PipedreamHQ/pipedream PR: 18744
File: components/slack_v2/actions/send-large-message/send-large-message.mjs:49-64
Timestamp: 2025-10-20T01:01:02.970Z
Learning: In components/slack_v2/actions/send-large-message/send-large-message.mjs, the metadata_event_payload prop is typed as string, so the code only needs to handle string-to-JSON parsing and does not need to handle object inputs.

Applied to files:

  • components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs
  • components/trengo/actions/get-message/get-message.mjs
  • components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs
  • components/trengo/actions/list-messages/list-messages.mjs
  • components/trengo/actions/send-a-message/send-a-message.mjs
  • components/trengo/actions/send-a-team-chat-message/send-a-team-chat-message.mjs
📚 Learning: 2024-10-30T15:24:39.294Z
Learnt from: jcortes
Repo: PipedreamHQ/pipedream PR: 14467
File: components/gainsight_px/actions/create-account/create-account.mjs:4-6
Timestamp: 2024-10-30T15:24:39.294Z
Learning: In `components/gainsight_px/actions/create-account/create-account.mjs`, the action name should be "Create Account" instead of "Create Memory".

Applied to files:

  • components/trengo/actions/create-contact/create-contact.mjs
📚 Learning: 2024-07-04T18:11:59.822Z
Learnt from: GTFalcao
Repo: PipedreamHQ/pipedream PR: 12731
File: components/hackerone/actions/get-members/get-members.mjs:3-28
Timestamp: 2024-07-04T18:11:59.822Z
Learning: When exporting a summary message in the `run` method of an action, ensure the message is correctly formatted. For example, in the `hackerone-get-members` action, the correct format is `Successfully retrieved ${response.data.length} members`.

Applied to files:

  • components/trengo/actions/list-messages/list-messages.mjs
🧬 Code graph analysis (1)
components/trengo/actions/list-all-quick-replies/list-all-quick-replies.mjs (4)
components/trengo/actions/attach-label/attach-label.mjs (1)
  • response (30-36)
components/trengo/actions/get-label/get-label.mjs (1)
  • response (24-27)
components/trengo/actions/get-message/get-message.mjs (1)
  • response (33-37)
components/trengo/trengo.app.mjs (4)
  • response (75-79)
  • response (165-169)
  • response (181-185)
  • response (199-204)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: Verify TypeScript components
  • GitHub Check: Publish TypeScript components
🔇 Additional comments (23)
components/trengo/sources/voice-call-recorded/voice-call-recorded.mjs (1)

7-7: Version bump only; behavior remains consistent.

The version metadata update to 0.0.6 matches the broader Trengo package bump and introduces no functional changes.

components/trengo/package.json (1)

3-3: Package version bump looks consistent with component updates.

Updating @pipedream/trengo to 0.6.0 aligns with the new action and multiple component version bumps in this PR.

components/trengo/sources/phone-call-started/phone-call-started.mjs (1)

7-7: Source version increment is straightforward.

The bump to 0.0.7 preserves existing behavior for the phone call started webhook source.

components/trengo/sources/ticket-label-added/ticket-label-added.mjs (1)

7-7: Ticket label source version bump is consistent and safe.

The metadata update to 0.0.7 matches the existing ticket-label-added semantics without altering behavior.

components/trengo/actions/get-label/get-label.mjs (1)

7-7: Read-only get-label action version bump looks good.

Incrementing the action version to 0.0.3 keeps the existing getLabel behavior unchanged and consistent with the documentation link.

components/trengo/actions/list-articles/list-articles.mjs (1)

7-7: LGTM: Routine version bump.

Version increment from 0.0.5 to 0.0.6 is appropriate as part of the package update that introduces new functionality (list-all-quick-replies action).

components/trengo/actions/log-a-voice-call/log-a-voice-call.mjs (1)

6-6: LGTM: Routine version bump.

Version increment from 0.0.7 to 0.0.8 is appropriate as part of the package update.

components/trengo/actions/create-contact/create-contact.mjs (1)

6-6: LGTM: Routine version bump.

Version increment from 0.0.7 to 0.0.8 is appropriate as part of the package update.

components/trengo/sources/ticket-reopened/ticket-reopened.mjs (1)

7-7: LGTM: Routine version bump.

Version increment from 0.0.4 to 0.0.5 is appropriate as part of the package update.

components/trengo/sources/new-outbound-message/new-outbound-message.mjs (1)

7-7: LGTM: Routine version bump.

Version increment from 0.0.6 to 0.0.7 is appropriate as part of the package update.

components/trengo/actions/send-a-message/send-a-message.mjs (1)

6-6: LGTM: Routine version bump.

Version increment from 0.0.7 to 0.0.8 is appropriate as part of the package update.

components/trengo/sources/phone-call-ended/phone-call-ended.mjs (1)

7-7: LGTM: Routine version bump.

Version increment from 0.0.6 to 0.0.7 is appropriate as part of the package update.

components/trengo/sources/ticket-closed/ticket-closed.mjs (1)

7-7: LGTM: Routine version bump.

Version increment from 0.0.4 to 0.0.5 is appropriate as part of the package update.

components/trengo/actions/list-messages/list-messages.mjs (1)

8-8: LGTM!

Version bump aligns with the package version update.

components/trengo/actions/find-contacts/find-contacts.mjs (1)

7-7: LGTM!

Version bump aligns with the package version update.

components/trengo/actions/list-labels/list-labels.mjs (1)

8-8: LGTM!

Version bump aligns with the package version update.

components/trengo/actions/attach-label/attach-label.mjs (1)

7-7: LGTM!

Version bump aligns with the package version update.

components/trengo/actions/get-message/get-message.mjs (1)

7-7: LGTM!

Version bump aligns with the package version update.

components/trengo/actions/send-a-whatsapp-message-template/send-a-whatsapp-message-template.mjs (1)

7-7: Version bump is consistent with the rest of the Trengo actions

Incrementing the action version to 0.0.8 without behavior changes is consistent with the coordinated release across this package.

components/trengo/actions/list-tickets/list-tickets.mjs (1)

8-8: Version bump aligns with coordinated Trengo release

Updating the action version to 0.0.5 with no logic changes is consistent with the other Trengo actions in this PR.

components/trengo/actions/send-a-ticket-message/send-a-ticket-message.mjs (1)

5-5: Metadata version bump looks good

The version increment to 0.0.2 with unchanged behavior is consistent with other Trengo action updates in this PR.

components/trengo/sources/new-inbound-message/new-inbound-message.mjs (1)

7-7: Source version bump is straightforward

Incrementing the source version to 0.0.7 without changing logic is consistent with the rest of the Trengo components in this PR.

components/trengo/trengo.app.mjs (1)

374-379: New listQuickReplies wrapper is consistent with existing API helpers

The new method correctly delegates to _makeRequest with path: "/quick_replies" and matches the style of other list/get helpers like listLabels and getTickets. This is a clean addition to the app API.

Comment on lines 21 to 24
options: [
"MESSAGING",
"EMAIL",
],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Move this to a constants.mjs file

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@jcortes jcortes force-pushed the trengo-new-component-list-all-quick-replies branch from 627b570 to f0fc852 Compare November 27, 2025 14:37
@jcortes jcortes requested a review from lcaresia November 27, 2025 14:38
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.

[ACTION] trengo - macros

3 participants