Pylon Reply

Pylon Reply

Certified

Reply to a Pylon issue

Calls POST /issues/{id}/reply to send a customer-facing reply, visible to the requester. messageId must be the top-level id of an existing customer-visible message on the issue (from the Pylon GET /issues/{id}/messages endpoint) — it selects which conversation or thread the reply is delivered on and, for email, controls the reply-chain headers.

yaml
type: io.kestra.plugin.pylon.issue.Reply

Reply to a Pylon issue

yaml
id: reply_pylon_issue
namespace: company.team

inputs:
  - id: issue_id
    type: STRING
  - id: message_id
    type: STRING
    description: The top-level message ID from `GET /issues/{id}/messages` to reply to.

tasks:
  - id: reply_issue
    type: io.kestra.plugin.pylon.issue.Reply
    apiToken: "{{ secret('PYLON_API_TOKEN') }}"
    issueId: "{{ inputs.issue_id }}"
    messageId: "{{ inputs.message_id }}"
    bodyHtml: "We're looking into this, thanks for your patience!"
Properties

Pylon API token

API token created by a Pylon Admin user (Pylon Settings > API), sent as Authorization: Bearer <token> on every request. Store it as a Kestra secret and reference it with {{ secret('PYLON_API_TOKEN') }} — never hardcode it in a flow.

Reply body (HTML)

HTML content of the reply.

Issue ID or number

The Pylon issue to reply to.

Message ID

The top-level Pylon message ID to reply to, from the id field returned by GET /issues/{id}/messages. Must be customer-visible and belong to issueId.

SubTypestring

Attachment URLs

URLs of files to attach to this reply.

Defaulthttps://api.usepylon.com

Pylon API base URL

Base URL of the Pylon API. Defaults to the US region (https://api.usepylon.com); override with https://api.eu.usepylon.com for the EU region.

Contact ID

Contact to post the reply as. Only one of userId/contactId may be set.

User ID

Pylon user to post the reply as. Only one of userId/contactId may be set.

Issue ID

Identifier of the issue the reply was posted on.

Message ID

Pylon-assigned identifier of the newly created reply message.