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
- 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.
- Create a scenario and add HTTP, Make a request:
Run it once so Make learns the shape of the response.URL https://api.goharlo.com/v1/invoicesMethod GET Headers Name Authorization, valueBearer hk_…Query string limit=100, andcreated_since={{formatDate(addMinutes(now; -20); "YYYY-MM-DDTHH:mm:ssZ")}}Parse response Yes - Add an Iterator on
data, so each invoice goes through the rest of the scenario on its own. - 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 theid. - 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.
Instant instead
Start the scenario with Webhooks, Custom webhook, copy its address, and add it in Harlo under Settings, API keys, Webhooks, picking the events you want. Send a test from Harlo so Make learns the shape. The record is in data.object; the event in type. You don't need the schedule, the date window or the data store: Harlo sends each event once and retries only if Make doesn't answer.
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).