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

# New Database

Triggers a workflow on a new Notion database.

<Note>
  Note: Any page not accessible to the provided Notion connection will not trigger an event.
  For more information refer to the [Notion connection creation documentation](https://docs.blinkops.com/docs/integrations/notion#create-a-notion-connection).
</Note>

**Endpoint**: `https://api.notion.com/v1/search`

<Note>
  Workflows based on this trigger will search for new events **every minute**.
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                 |
  | --------------- | ------------------------------------------------------------------------------------------- |
  | Query Substring | Add this field to limit events only to databases whose title contains a specific substring. |
</div>

## Sample Event

```json theme={"dark"}
{
	"object": "database",
	"id": "619b525e-b857-4c59-98db-17b38626fc5e",
	"cover": {
		"type": "external",
		"external": {
			"url": "https://www.notion.so/images/page-cover/gradients_11.jpg"
		}
	},
	"icon": {
		"type": "emoji",
		"emoji": "🍗"
	},
	"created_time": "2022-12-23T23:39:00.000Z",
	"created_by": {
		"object": "user",
		"id": "f71e15a2-055c-4530-8e69-c160214e4264"
	},
	"last_edited_by": {
		"object": "user",
		"id": "f71e15a2-055c-4530-8e69-c160214e4264"
	},
	"last_edited_time": "2022-12-29T15:11:00.000Z",
	"title": [
		{
			"type": "text",
			"text": {
				"content": "Recipes",
				"link": null
			},
			"annotations": {
				"bold": false,
				"italic": false,
				"strikethrough": false,
				"underline": false,
				"code": false,
				"color": "default"
			},
			"plain_text": "Recipes",
			"href": null
		}
	],
	"description": [],
	"is_inline": false,
	"properties": {
		"user": {
			"id": "xe1%3F",
			"name": "user",
			"type": "rich_text",
			"rich_text": {}
		},
		"status": {
			"id": "ymgk",
			"name": "status",
			"type": "rich_text",
			"rich_text": {}
		},
		"channel name": {
			"id": "title",
			"name": "channel name",
			"type": "title",
			"title": {}
		}
	},
	"parent": {
		"type": "page_id",
		"page_id": "2cbbd474-1adb-4eed-9637-e9e522534f03"
	},
	"url": "https://www.notion.so/619b525eb8574c5998db17b38626fc5e",
	"archived": false
}
```
