Skip to content
DevelopersGet an API key

Connect Harlo to Make

Read Harlo data on a schedule in a Make scenario, then hand each record to any of Make's apps.

You'll need

  • A Harlo admin login
  • A Make account
  1. Make a Harlo API key. In Harlo, open Settings, API keys, choose Create API key, name it Make, and copy it. You'll paste it in a moment; Harlo shows it only once.
  2. Create a scenario and add HTTP, Make a request:
    URLhttps://harlo-api-dev.pages.dev/v1/invoices
    MethodGET
    HeadersName Authorization, value Bearer hk_…
    Query stringlimit = 100, and created_since = {{formatDate(addMinutes(now; -20); "YYYY-MM-DDTHH:mm:ssZ")}}
    Parse responseYes
    Run it once so Make learns the shape of the response.
  3. Add an Iterator on data, so each invoice goes through the rest of the scenario on its own.
  4. Skip ones you've already handled. Add Data store, Get a record keyed by the invoice id, a filter that continues only when nothing was found, your action (QuickBooks, Xero, Google Sheets, email...), and finally Data store, Add/replace a record with the id.
  5. Schedule it every 15 minutes. The 20-minute window overlaps the schedule so nothing falls between runs; the data store stops anything being handled twice.

Large first run

To bring everything across once, run a copy of the scenario without created_since, following next_cursor with a Repeater (see Pagination and syncing).
NextAPI reference