
Pylon AddNote
CertifiedAdd an internal note to a Pylon issue
Pylon AddNote
Add an internal note to a Pylon issue
Calls POST /issues/{id}/note to post an internal note, not visible to the requester. If neither threadId nor messageId is set, the note is posted to the most recently created Slack-backed internal thread, or a new Pylon-only thread if none exists.
type: io.kestra.plugin.pylon.issue.AddNoteExamples
Leave an internal note after an automated check
id: add_pylon_note
namespace: company.team
inputs:
- id: issue_id
type: STRING
tasks:
- id: add_note
type: io.kestra.plugin.pylon.issue.AddNote
apiToken: "{{ secret('PYLON_API_TOKEN') }}"
issueId: "{{ inputs.issue_id }}"
bodyHtml: "Automated check passed, closing shortly."
Properties
apiToken *Requiredstring
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.
bodyHtml *Requiredstring
Note body (HTML)
HTML content of the internal note.
issueId *Requiredstring
Issue ID or number
The Pylon issue to add the note to.
attachmentUrls array
Attachment URLs
URLs of files to attach to this internal note.
baseUrl string
https://api.usepylon.comPylon 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.
messageId string
Message ID
An existing internal note's id (from GET /issues/{id}/messages) whose thread should receive the new note. Cannot be combined with threadId.
threadId string
Thread ID
Internal thread to post the note to (the id field from GET /issues/{id}/threads). Cannot be combined with messageId.
threadName string
Thread name
Name for a new Pylon-only internal thread. Used only when neither threadId nor messageId is set and no Slack-backed internal thread exists.
userId string
User ID
Pylon user to post the note as. Defaults to the API token's user.
Outputs
issueId string
Issue ID
Identifier of the issue the note was posted on.
messageId string
Message ID
Pylon-assigned identifier of the newly created note.