> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pnta.io/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n

> Set up push notifications in your n8n workflows using PNTA

## Prerequisites

* n8n instance (self-hosted or cloud)
* PNTA account with project ID (`prj_XXXXXXXXX`)
* API key created in [PNTA Dashboard](https://app.pnta.io)
* Platform keys configured in [PNTA Dashboard](https://app.pnta.io) (see [Platform Keys Setup](/resources/platform-keys))

## Setup Steps

### 1. Install PNTA Node

1. Go to **Settings** → **Community nodes**
2. Click **Install**
3. Enter `@pnta/n8n-nodes-pnta` as the package name
4. Click **Install** to add the PNTA node to your n8n instance

<img src="https://mintcdn.com/pnta/pk9084O700khqvvz/images/n8n-community-node.png?fit=max&auto=format&n=pk9084O700khqvvz&q=85&s=4d34982f1090c667b4263d005e3c2ee6" alt="n8n Community Node Installation" width="3428" height="2292" data-path="images/n8n-community-node.png" />

### 2. Configure Authentication

1. Go back to your n8n dashboard
2. Click on **Create credential** in the top right corner
3. Search for **PNTA** and select it
4. Add the API key you created for your project in the PNTA Dashboard
5. Save the credential

<img src="https://mintcdn.com/pnta/pk9084O700khqvvz/images/n8n-credentials.png?fit=max&auto=format&n=pk9084O700khqvvz&q=85&s=7e1c88baf750cb691f08b35487a66b6c" alt="n8n PNTA Credentials Setup" width="3520" height="2384" data-path="images/n8n-credentials.png" />

### 3. Create Your First Workflow

Now you're ready to create powerful workflows with PNTA! You can use PNTA nodes in various ways:

**Webhook-Triggered Notifications:**

* Create a workflow that starts with a **Webhook** node
* Add a **PNTA** node to send push notifications when the webhook is triggered
* Perfect for real-time notifications from external systems

**Agent Workflows:**

* Use PNTA nodes within AI agent workflows
* Send notifications based on AI analysis or decision-making
* Create intelligent notification systems that respond to data patterns

<img src="https://mintcdn.com/pnta/pk9084O700khqvvz/images/n8n-agent.png?fit=max&auto=format&n=pk9084O700khqvvz&q=85&s=10d0c97c7bc4ccec779c0057d50f9316" alt="n8n Agent Workflow" width="3520" height="2384" data-path="images/n8n-agent.png" />

**Scheduled Notifications:**

* Combine **Cron** or **Schedule Trigger** nodes with PNTA nodes
* Send regular updates, reminders, or status notifications
* Automate recurring communication with your users

**Conditional Notifications:**

* Use **IF** nodes to create smart notification logic
* Send different messages based on user data, time, or other conditions
* Build sophisticated notification strategies

<Info>
  **Need help with self-hosted n8n?** If you need assistance setting up a
  self-hosted n8n instance, we're here to help! Just reach out to
  [support@pnta.io](mailto:support@pnta.io) and we'll get you sorted with your
  own n8n deployment.
</Info>

## Resources

<CardGroup cols={2}>
  <Card title="PNTA n8n Node" icon="npm" href="https://www.npmjs.com/package/@pnta/n8n-nodes-pnta">
    Official PNTA node for n8n workflows
  </Card>

  <Card title="n8n" icon="bolt" href="https://n8n.partnerlinks.io/pnta">
    Learn more about PNTA integration with n8n
  </Card>
</CardGroup>
