# New Node Created — Neo4j AuraDB

> Emit new event when a new node is created in the Neo4j AuraDB instance.

- Key: `neo4j_auradb-new-node`
- Type: Trigger (Polling)
- Version: 0.0.1
- App: Neo4j AuraDB (`neo4j_auradb`) — https://pipedream.com/apps/neo4j-auradb.md
- This page (HTML): https://pipedream.com/apps/neo4j-auradb/triggers/new-node
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/neo4j_auradb/sources/new-node/new-node.mjs

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `timer` | `$.interface.timer` | Yes | Timer |
| `orderBy` | `string` | Yes | Order By property is required for Pipedream source to identify the entity. We recommend to choose the property represent the created time property of your entity with a variable, for example createdAt. |
| `orderType` | `string` | Yes | The type of the order field. |
| `datetimeFormat` | `string` | Yes | The format of the datetime field. E.g. YYYY-MM-DD HH:mm:ss.SSSSZ |
| `nodeLabel` | `string` | Yes | The label of the node. |

## Returns

Events emitted by Neo4j AuraDB.

## Run it

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const deployed = await pd.triggers.deploy({
  id: "neo4j_auradb-new-node",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    neo4j_auradb: { authProvisionId: "apn_xxxxxxx" },
    timer: { "intervalSeconds": 900 },
    orderBy: "Order By",
  },
  webhookUrl: "https://example.com/webhooks/neo4j-auradb",
})

console.log(deployed.id)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/triggers/deploy \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "neo4j_auradb-new-node",
    "webhook_url": "https://example.com/webhooks/neo4j-auradb",
    "configured_props": {
      "neo4j_auradb": { "authProvisionId": "apn_xxxxxxx" },
      "timer": { "intervalSeconds": 900 },
      "orderBy": "Order By"
    }
  }'
```

**MCP**

MCP servers expose Neo4j AuraDB actions as on-demand tools.

New Node Created is an event source, so your application deploys it with the Connect SDK or API and then either receives each event at a webhook URL or retrieves events on demand with the trigger events API.

## Event delivery

Every event is sent to the HTTP endpoint you choose when you deploy the source. Or: no webhook required — your app or agent can fetch recent events from the [trigger events API](https://pipedream.com/docs/connect/api-reference/list-trigger-events.md) instead.

---

- App: https://pipedream.com/apps/neo4j-auradb.md · All apps: https://pipedream.com/apps
