Get Asset

freshservice.get_asset
ActionBusiness appsconnection required

Calls the Freshservice API with the connection's credentials.

Read one Freshservice asset by its display id.

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

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

FieldTypeRequiredDefaultConstraintsExample
display_id
The asset's display id — the number Freshservice shows on the asset and uses in its URL.
stringYes——11
include
Set to type_fields to bring back the asset-type-specific attributes.
stringNo—one of "type_fields"—

Example configuration

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

{
  "display_id": "11"
}

Output

One shape.

result

FieldTypeExample
id
Internal id of the asset.
number—
display_id
Display id — the number every asset endpoint addresses.
number—
name
Display name of the asset.
string—
description
Description of the asset.
string—
asset_type_id
Id of the asset type this asset belongs to.
number—
asset_tag
Asset tag assigned to the asset.
string—
impact
Impact of the asset: low, medium or high.
string—
usage_type
Usage type of the asset: permanent or loaner.
string—
user_id
User id the asset is used by.
number—
agent_id
Agent id the asset is managed by.
number—
group_id
Agent group the asset is managed by.
number—
department_id
Department the asset belongs to.
number—
location_id
Location the asset sits at.
number—
assigned_on
When the asset was assigned.
string—
type_fields
Asset-type-specific values, when they were requested.
object—
created_at
When the asset was created.
string—
updated_at
When the asset was last updated.
string—
{
  "agent_id": 0,
  "asset_tag": "",
  "asset_type_id": 0,
  "assigned_on": "",
  "created_at": "",
  "department_id": 0,
  "description": "",
  "display_id": 0,
  "group_id": 0,
  "id": 0,
  "impact": "",
  "location_id": 0,
  "name": "",
  "type_fields": {},
  "updated_at": "",
  "usage_type": "",
  "user_id": 0
}

See Get Asset 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.