
Pylon Create
CertifiedCreate a Pylon issue
Pylon Create
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.
type: io.kestra.plugin.pylon.issue.CreateExamples
Create a Pylon issue from a flow
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
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
Issue body (HTML)
HTML content of the issue's first message.
title *Requiredstring
Issue title
Short summary of the issue shown in Pylon.
accountId string
Account ID
Pylon account this issue belongs to. Required unless requesterEmail (or a requester) is provided.
assigneeId string
Assignee ID
Pylon user ID the issue should be assigned to.
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.
customFields object
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.
priority string
URGENTHIGHMEDIUMLOWPriority
Priority of the issue. Leave blank to use Pylon's default.
requesterEmail string
Requester email
Email of the customer this issue is for. If no matching contact exists, one is created. Required unless accountId is provided.
teamId string
Team ID
Pylon team the issue should be assigned to.
Outputs
issue object
Issue
Full Pylon issue object as returned by the API.
issueId string
Issue ID
Pylon-assigned identifier of the newly created issue.