Create Problem

freshservice.create_problem
ActionBusiness appsconnection required

Calls the Freshservice API with the connection's credentials.

Raise a Freshservice problem record for a requester.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Freshservice
Secret shape
the API key, or {"api_key": "…"}
Config it needs
domain, workspace_id
Resolved by
config.connection_id, else node.connection_id

Configuration

16 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
subject
Subject line of the problem.
stringYes———
description
Body of the record; Freshservice stores and renders it as HTML.
stringNo———
email
Email address of the requester; Freshservice adds a contact when it does not know it yet.
stringNo—email formattom@outerspace.com
requester_id
Numeric user id of an existing requester, used instead of their email address.
stringNo———
priority
Priority: 1 Low, 2 Medium, 3 High, 4 Urgent.
numberNo—1–42
status
Problem status: 1 Open, 2 Change Requested, 3 Closed.
numberNo—1–3—
impact
Impact: 1 Low, 2 Medium, 3 High.
numberNo—1–3—
due_by
When the problem is due, as a UTC timestamp; Freshservice requires it.
stringNo—iso8601 format—
agent_id
Numeric id of the agent the record is assigned to.
stringNo———
group_id
Numeric id of the agent group the record is assigned to.
stringNo———
department_id
Numeric id of the department the record belongs to.
stringNo———
known_error
Record the problem as a known error.
booleanNo———
category
Category name for the record, as configured in this Freshservice account.
stringNo———
custom_fields
Custom field values as a JSON object keyed by the field's Freshservice name.
objectNo———
workspace_id
Workspace to act in; defaults to the connection's workspace, then the primary one. Only accounts on the workspaces plan use it.
stringNo———
attributes
Any other documented attribute for this record, as a JSON object merged into the request.
objectNo———
  • At least one of email, requester_id must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "email": "tom@outerspace.com",
  "priority": 2
}

Output

One shape.

result

FieldTypeExample
id
Numeric id of the problem.
number—
subject
Subject line of the problem.
string—
status
Status: 1 Open, 2 Change Requested, 3 Closed.
number—
priority
Priority: 1 Low, 2 Medium, 3 High, 4 Urgent.
number—
impact
Impact: 1 Low, 2 Medium, 3 High.
number—
known_error
True when the problem is recorded as a known error.
boolean—
requester_id
User id of whoever raised the problem.
number—
agent_id
User id of the agent the problem is assigned to.
number—
group_id
Id of the agent group the problem is assigned to.
number—
due_by
When the problem is due.
string—
associated_change
Id of the change raised from this problem, if any.
number—
workspace_id
Workspace the problem belongs to.
number—
created_at
When the problem was created.
string—
updated_at
When the problem was last updated.
string—
{
  "agent_id": 0,
  "associated_change": 0,
  "created_at": "",
  "due_by": "",
  "group_id": 0,
  "id": 0,
  "impact": 0,
  "known_error": false,
  "priority": 0,
  "requester_id": 0,
  "status": 0,
  "subject": "",
  "updated_at": "",
  "workspace_id": 0
}

Notes

  • Freshservice treats subject, description, priority, status, impact and due_by as mandatory on a problem.

See Create Problem run in a workflow.

In a technical demo we add the Freshservice connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.