Setup guide · Zapier · Coming soon
Connect AhlanHamad to Zapier: step by step
AhlanHamad publishes the Zapier app, so there is nothing to create or paste: you sign in to AhlanHamad from Zapier and approve what Zapier may do. You need a Zapier account and a company admin in AhlanHamad. Every label below is the one you will see on screen.
Updated 19 October 2026
1. Before you start
Coming soon. AhlanHamad isn't published on Zapier yet, so you won't find it by searching in Zapier, and you can't connect it on your own yet. Until it's published, the app is private and by invitation only. Ask us if you'd like an invite.
- In AhlanHamad, the person who connects needs permission to manage integrations in the company. By default that is the CEO / Owner and the HR Admin roles.
- Partner apps are switched on per company. If the AhlanHamad screen says Partner apps aren't enabled for this company yet., ask us to switch them on.
- One connection is one company. To use Zapier with a second company, add a second connection.
- This guide describes version 1.1.0 of the AhlanHamad app on Zapier.
2. In Zapier: accept the invite
- Sign in to Zapier, then open the invite link we sent you.
- Accept the invite. The app, named Ahlan Hamad, is then available in your Zapier account.
3. Connect AhlanHamad
- In the Zap editor, add a step, search for Ahlan Hamad and choose a trigger, a search or an action (sections 5 and 6).
- Click Sign in. A window opens on AhlanHamad: sign in with your AhlanHamad account.
- On Connect Zapier to Ahlan Hamad, choose the Company, review what Zapier will be able to do, and click Approve.
- You are sent back to Zapier. The connection is labelled with your company's name and country, for example Acme Trading (KW), or (sandbox) for a sandbox company.
The sign-in uses OAuth 2.0 with PKCE: Zapier never sees your AhlanHamad password, and Zapier gets only the permissions you approved, for the one company you chose.
4. What Zapier may do
The consent screen always lists the company profile (name, country, currency, legal entities), and these six permissions:
| Permission (scope) | On the consent screen | Why |
|---|---|---|
employees:read | Read employees | The employee triggers and Find Employee. |
payroll:read | Read payroll totals and journals | The payroll-run triggers: run-level totals only. |
attendance:read | Read attendance | Requested together with sending attendance. There is no attendance trigger. |
attendance:write | Send attendance (clock events) | Record Clock Event. |
leave:read | Read leave requests (dates and status only) | The leave triggers. |
webhooks:manage | Manage webhooks | Each trigger Zap turns its own webhook on and off. |
The consent screen also says: It will never see individual employee salaries or bank details. Nothing in the app reads or writes payroll.
5. Triggers
Ten instant triggers. Each runs the moment the event happens in AhlanHamad.
| Trigger | Runs when |
|---|---|
| New Employee | An employee is added. |
| Updated Employee | An employee's details change: name, job title, department, status, contact details, work location or manager. |
| Employee Left | An employee's employment ends. The reason is never shared. |
| Payroll Run Finalized | A payroll run is closed and its journal posted. |
| Payroll Run Paid | A payroll run is marked paid and its payment journal posted. |
| Payroll Run Corrected | A correction changes the amounts of a run that was already finalized or paid. |
| New Leave Request | A leave request is submitted, by the employee or by HR. |
| Leave Approved | A leave request gets its final approval. |
| Leave Rejected | A leave request is rejected. The rejection reason is never shared. |
| Leave Cancelled | A leave request is cancelled or withdrawn, including leave released when employment ends. |
- Payroll-run triggers carry run-level totals only. A run with fewer than three employees arrives without totals.
- Leave triggers carry dates, day count, status and the deciding role only: no reason, attachment, balance or approver name. Sick, maternity, paternity, bereavement, Hajj, iddah and marriage leave show as Personal.
- No salary, allowance, bank, ID-document or date-of-birth field is sent by any trigger.
6. Search and action
| Step | What it does |
|---|---|
| Find Employee (search) | Finds an employee by Email, Employee Code or Ahlan Hamad Employee ID. Only current employees, unless you set Include Former Employees? to yes. |
| Record Clock Event (action) | Records a Clock In, Clock Out, Break Start or Break End for an employee in AhlanHamad attendance. Identify the employee by email, employee code, AhlanHamad employee ID, phone, or your own ID once HR has linked it. |
The When field of Record Clock Event
- Type the date and time as
YYYY-MM-DD HH:MM(24-hour), for example2026-10-15 09:00. Seconds are optional. - You may add an offset (
Z,+04:00or+0400), for example2026-10-15T09:00:00+04:00. With an offset, that exact moment is recorded. - Without an offset, the time is read in your AhlanHamad company's time zone (the company's own setting, otherwise its country's), never your Zapier account's. The step's Time Zone Applied output says which zone was used.
- Words such as "yesterday", a date without a time, and impossible dates are refused before anything is sent. The time may be at most 5 minutes in the future or 35 days in the past.
Sending the same event twice records it once. Put your system's own ID in Event ID, or leave it blank and one is made from the employee, the type and the time.
7. Test and turn on your Zap
- Test the trigger. Zapier shows recent records from your company as samples; a leave trigger shows only requests in its own status. With none, you see an example record with obviously fake IDs.
- Map the fields into the next steps of your Zap.
- Turn the Zap on. It adds its own signed webhook, which you can see under Integrations → API keys in AhlanHamad with Zapier as its owner. Turning the Zap off removes it.
Each trigger Zap uses one webhook, and a company can hold up to 20 webhooks in all.
8. Try it on a sandbox company
A sandbox company holds only made-up data: ten employees plus one former employee, one finalized payroll run, and four leave requests (pending, approved, rejected and cancelled). It never touches your real company.
- In AhlanHamad, open Integrations → API keys and click Create sandbox company. You join it as its CEO; your current company does not change.
- In Zapier, add a new connection and choose the sandbox company on the consent screen. It is marked Sandbox, and the connection label ends in (sandbox).
9. Troubleshooting
| Message | What to do |
|---|---|
| You need permission to manage integrations in this company. | Ask your CEO / Owner or HR Admin to connect, or to give you that permission. |
| Partner apps aren't enabled for this company yet. | Partner apps are switched on per company. Contact us. |
| This app hasn't been approved for live companies yet. | The app is not open to your company yet. Contact us. |
| This app is in development and can only connect to its developer's sandbox companies. | The app is not open to your company yet. Contact us. |
| This connection was approved without the permission this step needs. Reconnect Ahlan Hamad and approve every requested permission. | Reconnect AhlanHamad in Zapier and click Approve on the full list. |
| Your Ahlan Hamad connection has expired or was disconnected | Access was revoked or has expired. Reconnect AhlanHamad in Zapier. |
| … is not a date and time Ahlan Hamad can read. | Enter When as YYYY-MM-DD HH:MM, for example 2026-10-15 09:00 (section 6). |
| Your Ahlan Hamad company has no time zone set, so a time without an offset cannot be placed. | Add the offset to When, for example +04:00, or set the company's time zone in AhlanHamad. |
| A company can have at most 20 webhook endpoints | Turn off a trigger Zap you no longer need, then turn this one on again. |
10. Disconnecting
- In AhlanHamad, open Integrations → Connected apps, click Revoke next to Zapier, then Revoke access. Zapier loses access at once and the webhooks of your Zaps stop.
- In Zapier, turn off the Zaps that use the connection and remove the connection. To connect again, someone with integrations access must approve it again.
About this guide
- Every trigger, field and message here is read from version 1.1.0 of the AhlanHamad app on Zapier and from AhlanHamad's own screens.
- Zapier is a trademark of its owner. AhlanHamad is not affiliated with Zapier.