# Integrate Pagerly with APIs, Zapier, Make, and n8n

Pagerly can connect with your internal tools and automation platforms so you can:

* **Fetch the current on-call user (or all current on-calls)**
* **Fetch the upcoming rotation/users in rotation**
* **Trigger workflows automatically whenever on-call / rotation changes**

This is useful for tasks such as auto-updating incident tools, assigning tickets, updating Slack topics, paging the right person, or syncing on-call with your internal systems.

***

### What you can do -

#### ✅ Fetch current on-call (pull)

Use Pagerly APIs (or automation actions) to get:

* **Current on-call for a team**
* **All on-calls for an org**
* **Users in the rotation / schedule (if needed for reporting)**

#### ⚡ Trigger on rotation change (push)

Pagerly can send an event whenever:

* On-call handover happens
* Rotation changes due to overrides / swaps
* Multiple on-calls change (multi-team / multi-rotation setups)

That event can kick off workflows in **Zapier / Make / n8n** (or your own backend) instantly.

***

#### Follow the guides to start integrating with

* API ([link](/api/generate-api-key.md))
* Zapier ([link](/integrate-with-zapier.md))
* Make ([link](/integrate-with-make.md))

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pagerly.io/oncall-and-rotations/integrate-pagerly-with-apis-zapier-make-and-n8n.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
