Pylon Create

Pylon Create

Certified

Create a Pylon issue

Calls POST /issues to create a new issue and its first message. Requires either accountId or requesterEmail so Pylon knows which customer the issue is for.

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

Create a Pylon issue from a flow

yaml
id: create_pylon_issue
namespace: company.team

inputs:
  - id: subject
    type: STRING
  - id: description
    type: STRING

tasks:
  - id: create_issue
    type: io.kestra.plugin.pylon.issue.Create
    apiToken: "{{ secret('PYLON_API_TOKEN') }}"
    title: "{{ inputs.subject }}"
    bodyHtml: "{{ inputs.description }}"
    requesterEmail: "customer@example.com"
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.

Issue body (HTML)

HTML content of the issue's first message.

Issue title

Short summary of the issue shown in Pylon.

Account ID

Pylon account this issue belongs to. Required unless requesterEmail (or a requester) is provided.

Assignee ID

Pylon user ID the issue should be assigned to.

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.

Custom fields

Map of custom field slug to value. Use a list value for a multi-valued field (e.g. multiselect), or a single string otherwise. Field slugs are listed by the Pylon GET /custom-fields endpoint.

Possible Values
URGENTHIGHMEDIUMLOW

Priority

Priority of the issue. Leave blank to use Pylon's default.

Requester email

Email of the customer this issue is for. If no matching contact exists, one is created. Required unless accountId is provided.

SubTypestring

Tags

Tags to apply to the issue.

Team ID

Pylon team the issue should be assigned to.

Issue

Full Pylon issue object as returned by the API.

Issue ID

Pylon-assigned identifier of the newly created issue.