How to use pagination with Zoho CRM?

How do I make pagination work? I’m using Zoho CRM and I’m trying to get appointments, but it’s giving errors, does anyone know how to make it work?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@htnrodrigues , Zoho Appointments API is described in this document. Note that response returned comes in the form below with the property info corresponding to pagination information.

{
    "data": [
        . . .
    ],
    "info": {
        "per_page": 200,
        "next_page_token": null,
        "count": 3,
        "sort_by": "id",
        "page": 1,
        "previous_page_token": null,
        "page_token_expiry": null,
        "sort_order": "desc",
        "more_records": false
    }
}

It appears (I’m guessing here), that the property info.more_records indicates whether there are more records left. If that is so, your “Pagination Complete When” would need to be custom, {{ !$response.body.info.more_records }}. That is, the pagination stops when more_records is returned with value false.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.