FlowmageDocs

Create ticket

BetaChanges data

Creates a Freshdesk ticket for a requester you name.

Settings

SettingWhat it is
ConnectionRequiredThe Freshdesk connection the step signs in with.
Identify the requester byFreshdesk needs exactly one of these. A new e-mail address creates the contact; a phone number needs a name beside it.
RequesterRequiredtext
Requester nameFreshdesk refuses a ticket identified by phone number without a name.
Subjecttext
Description formatFreshdesk renders a description as HTML. Plain text escapes what you write and turns your line breaks into HTML ones; HTML sends it exactly as typed.
DescriptionRequiredThe first message of the ticket, as the requester will see it.
StatusFreshdesk stores a status as a number; the number is in brackets so an export reads the same as this list.
Priority"low" or "medium" or "high" or "urgent"
Source"email" or "portal" or "phone" or "chat" or "feedback_widget" or "outbound_email"
TypeThe ticket type as your Freshdesk admin named it, for example Incident.
Assign to agent idThe List agents node gives you the ids.
Group idThe List groups node gives you the ids.
Company idtext
Product idtext
E-mail config idWhich of your support addresses the ticket belongs to.
Parent ticket idtext
Cctext
TagsComma-separated.
Custom fieldsFreshdesk keys a custom field by its name, usually prefixed cf_ — the List ticket fields node gives you the names and the allowed choices.
Due byFreshdesk refuses one of the two due dates without the other.
First response due bytext
AttachmentsFile name → its base64, for example {{ file("report.pdf").base64 }}. All attachments together may not exceed 20 MB.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `freshdesk`)
requesterMode"email" or "requesterId" or "phone" or "uniqueExternalId", by default "email"
requestertext
nametextused when `requesterMode` is "phone"
subjecttext
descriptionFormat"text" or "html", by default "text"
descriptiontext
status"open" or "pending" or "resolved" or "closed", by default "open"
priority"low" or "medium" or "high" or "urgent", by default "low"
source"email" or "portal" or "phone" or "chat" or "feedback_widget" or "outbound_email", by default "portal"
typetext
responderIdtexta value from the vendor's own list
groupIdtexta value from the vendor's own list
companyIdtext
productIdtext
emailConfigIdtext
parentIdtext
ccEmailstext
tagstext
customFieldsobject of text, by default {}
dueBytext
frDueBytext
attachmentsobject of text, by default {}

Output

FieldType
ticketIdnumber
ticketobject
ticketUrlLink to the ticketstring
Sample output, and the expression for each field
  • ticket{}
  • ticketId42
  • ticketUrl"https://acme.freshdesk.com/a/tickets/42"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "attachments": {},
    "ccEmails": "",
    "companyId": "",
    "connection": "<connection id>",
    "customFields": {},
    "description": "<description>",
    "descriptionFormat": "text",
    "dueBy": "",
    "emailConfigId": "",
    "frDueBy": "",
    "groupId": "",
    "name": "",
    "parentId": "",
    "priority": "low",
    "productId": "",
    "requester": "<requester>",
    "requesterMode": "email",
    "responderId": "",
    "source": "portal",
    "status": "open",
    "subject": "",
    "tags": "",
    "type": ""
  },
  "label": "Create ticket",
  "type": "freshdesk.createTicket",
  "version": 1
}