FlowmageDocs

Tickets changed since

BetaReads data

Reads every Zendesk ticket created or changed since a moment.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
Changed sinceAn ISO 8601 moment or the number of seconds since 1970. Keep it at least a minute in the past: Zendesk indexes a change a moment after it happens, and a start time on the second loses the changes still being written.
Continue fromThe value the previous run answered. Fill it in and Changed since is ignored — this is how a sync picks up exactly where it left off.
Leave out deleted ticketstrue/false
Also fetchComma-separated related records. This endpoint does NOT accept last_audits, however much the other ticket reads do.
Pages per runEach page holds up to 1,000 tickets, a run stops at 5,000, and Zendesk allows 10 of these calls a minute (30 with the High Volume add-on). When the run stops before the end, use the cursor it answers to continue. The same ticket can come back on two pages, so whatever reads this has to tolerate seeing one twice.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
startTimetext
cursortext
excludeDeletedtrue/false, by default false
sideloadstext
maxPagesnumber, by default 10

Output

FieldType
ticketsarray
ticketCountTickets in this answernumber
nextCursorContinue from this next timestring
endOfStreamWhether Zendesk has nothing more for nowboolean
pagesPages this run readnumber
Sample output, and the expression for each field
  • endOfStreamfalse
  • nextCursor"cur2"
  • pages1
  • ticketCount0
  • tickets[]

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": {
    "connection": "<connection id>",
    "cursor": "",
    "excludeDeleted": false,
    "maxPages": 10,
    "sideloads": "",
    "startTime": ""
  },
  "label": "Tickets changed since",
  "type": "zendesk.listChangedTickets",
  "version": 1
}