FlowmageDocs

Log time on a ticket

BetaChanges data

Adds a time entry to a Freshdesk ticket.

Settings

SettingWhat it is
ConnectionRequiredThe Freshdesk connection the step signs in with.
Ticket idRequiredtext
Time spentHours and minutes as hh:mm. Leave it empty only when you start a running timer instead.
Billabletrue/false
Notetext
Log for agent idEmpty logs it for the agent the API key belongs to.
Work done attext
Started attext
Start a running timerFreshdesk keeps counting until somebody stops the timer in Freshdesk itself.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `freshdesk`)
ticketIdtext
timeSpenttext
billabletrue/false, by default true
notetext
agentIdtexta value from the vendor's own list
executedAttext
startTimetext
timerRunningtrue/false, by default false

Output

FieldType
timeEntryIdnumber
timeEntryobject
Sample output, and the expression for each field
  • timeEntry{}
  • timeEntryId3

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": {
    "agentId": "",
    "billable": true,
    "connection": "<connection id>",
    "executedAt": "",
    "note": "",
    "startTime": "",
    "ticketId": "<ticket id>",
    "timeSpent": "",
    "timerRunning": false
  },
  "label": "Log time on a ticket",
  "type": "freshdesk.addTimeEntry",
  "version": 1
}