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.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
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.