> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.notion.core.NewDatabaseItem

- Component: `appmixer.notion.core.NewDatabaseItem`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.notion 2.2.0](https://connectors.appmixer.com/connector/appmixer.notion/2.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.notion/2.2.0/component/appmixer.notion.core.NewDatabaseItem>

Triggers when a new Item is added inside a selected database.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Database ID (`databaseId`) | text | Select a database from the picker or enter a Database ID. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Object (`object`) | string | - |
| Object ID (`id`) | string | - |
| Created Time (`created_time`) | string | - |
| Last Edited Time (`last_edited_time`) | string | - |
| Created by (`created_by`) | object | - |
| Last Edited by (`last_edited_by`) | object | - |
| Cover (`cover`) | object,null | - |
| Icon (`icon`) | object,null | - |
| Parent (`parent`) | object | - |
| Archived (`archived`) | boolean | - |
| In Trash (`in_trash`) | boolean | - |
| Properties (`properties`) | object | - |
| URL (`url`) | string | - |
| Public URL (`public_url`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.notion.core.NewDatabaseItem",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Triggers when a new Item is added inside a selected database.",
  "tick": true,
  "auth": {
    "service": "appmixer:notion"
  },
  "quota": {
    "manager": "appmixer:notion",
    "resources": "general",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "private": false,
  "properties": {
    "schema": {
      "properties": {
        "databaseId": {
          "type": "string"
        }
      },
      "required": [
        "databaseId"
      ]
    },
    "inspector": {
      "inputs": {
        "databaseId": {
          "type": "text",
          "label": "Database ID",
          "index": 1,
          "tooltip": "Select a database from the picker or enter a Database ID.",
          "source": {
            "url": "/component/appmixer/notion/core/ListDatabases?outPort=out",
            "data": {
              "properties": {
                "sendWholeArray": true
              },
              "transform": "./ListDatabases#databaseToSelectArray"
            }
          }
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Object",
          "value": "object",
          "schema": {
            "type": "string",
            "example": "page"
          }
        },
        {
          "label": "Object ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "d0e1f2a3-b4c5-6789-defa-890123456789"
          }
        },
        {
          "label": "Created Time",
          "value": "created_time",
          "schema": {
            "type": "string",
            "example": "2026-01-15T11:00:00.000Z"
          }
        },
        {
          "label": "Last Edited Time",
          "value": "last_edited_time",
          "schema": {
            "type": "string",
            "example": "2026-01-15T11:00:00.000Z"
          }
        },
        {
          "label": "Created by",
          "value": "created_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Created by.object",
                "type": "string"
              },
              "id": {
                "title": "Created by.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Last Edited by",
          "value": "last_edited_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Last edited by.object",
                "type": "string"
              },
              "id": {
                "title": "Last edited by.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Cover",
          "value": "cover",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": {
              "type": "external",
              "external": {
                "url": "https://images.unsplash.com/photo-1506744038136-46273834b3fb"
              }
            }
          }
        },
        {
          "label": "Icon",
          "value": "icon",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": {
              "type": "emoji",
              "emoji": "🚀"
            }
          }
        },
        {
          "label": "Parent",
          "value": "parent",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "title": "Parent.type",
                "type": "string"
              },
              "database_id": {
                "title": "Parent.databaseID",
                "type": "string"
              }
            },
            "example": {
              "type": "database_id",
              "database_id": "9b4c8f2e-1d3a-4e5b-8c7d-6f0a1b2c3d4e"
            }
          }
        },
        {
          "label": "Archived",
          "value": "archived",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "In Trash",
          "value": "in_trash",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Properties",
          "value": "properties",
          "schema": {
            "type": "object",
            "properties": {
              "title": {
                "title": "Properties.title",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.title.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.title.type",
                    "type": "string"
                  },
                  "title": {
                    "title": "Properties.title.title",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "title": "Properties.title.title.type",
                          "type": "string"
                        },
                        "text": {
                          "title": "Properties.title.title.text",
                          "type": "object",
                          "properties": {
                            "content": {
                              "title": "Properties.title.title.text.content",
                              "type": "string"
                            },
                            "link": {
                              "title": "Properties.title.title.text.link",
                              "type": "string"
                            }
                          }
                        },
                        "annotations": {
                          "title": "Properties.title.title.annotations",
                          "type": "object",
                          "properties": {
                            "bold": {
                              "title": "Properties.title.title.annotations.bold",
                              "type": "boolean"
                            },
                            "italic": {
                              "title": "Properties.title.title.annotations.italic",
                              "type": "boolean"
                            },
                            "strikethrough": {
                              "title": "Properties.title.title.annotations.strikethrough",
                              "type": "boolean"
                            },
                            "underline": {
                              "title": "Properties.title.title.annotations.underline",
                              "type": "boolean"
                            },
                            "code": {
                              "title": "Properties.title.title.annotations.code",
                              "type": "boolean"
                            },
                            "color": {
                              "title": "Properties.title.title.annotations.color",
                              "type": "string"
                            }
                          }
                        },
                        "plain_text": {
                          "title": "Properties.title.title.plain_text",
                          "type": "string"
                        },
                        "href": {
                          "title": "Properties.title.title.href",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "tags": {
                "title": "Properties.tags",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.tags.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.tags.type",
                    "type": "string"
                  },
                  "multi_select": {
                    "title": "Properties.tags.multi_select",
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              },
              "created_by": {
                "title": "Properties.created_by",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.created_by.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.created_by.type",
                    "type": "string"
                  },
                  "created_by": {
                    "title": "Properties.created_by.created_by",
                    "type": "object",
                    "properties": {
                      "object": {
                        "title": "Properties.created_by.created_by.object",
                        "type": "string"
                      },
                      "id": {
                        "title": "Properties.created_by.created_by.ID",
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "created_time": {
                "title": "Properties.created_time",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.created_time.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.created_time.type",
                    "type": "string"
                  },
                  "created_time": {
                    "title": "Properties.created_time.created_time",
                    "type": "string"
                  }
                }
              },
              "last_edited_by": {
                "title": "Properties.last_edited_by",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.last_edited_by.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.last_edited_by.type",
                    "type": "string"
                  },
                  "last_edited_by": {
                    "title": "Properties.last_edited_by.last_edited_by",
                    "type": "object",
                    "properties": {
                      "object": {
                        "title": "Properties.last_edited_by.last_edited_by.object",
                        "type": "string"
                      },
                      "id": {
                        "title": "Properties.last_edited_by.last_edited_by.ID",
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "last_edited_time": {
                "title": "Properties.last_edited_time",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.last_edited_time.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.last_edited_time.type",
                    "type": "string"
                  },
                  "last_edited_time": {
                    "title": "Properties.last_edited_time.last_edited_time",
                    "type": "string"
                  }
                }
              }
            },
            "example": {
              "title": {
                "id": "title",
                "type": "title",
                "title": [
                  {
                    "type": "text",
                    "text": {
                      "content": "Launch plan",
                      "link": null
                    },
                    "plain_text": "Launch plan",
                    "href": null
                  }
                ]
              },
              "tags": {
                "id": "%5CvT%7B",
                "type": "multi_select",
                "multi_select": [
                  {
                    "id": "5de29601-9c24-4b04-8629-0bca891c5120",
                    "name": "marketing",
                    "color": "purple"
                  }
                ]
              },
              "created_by": {
                "id": "%3E%7DkT",
                "type": "created_by",
                "created_by": {
                  "object": "user",
                  "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
                }
              },
              "created_time": {
                "id": "Wc%5BP",
                "type": "created_time",
                "created_time": "2026-01-15T11:00:00.000Z"
              },
              "last_edited_by": {
                "id": "z%3Bx%7C",
                "type": "last_edited_by",
                "last_edited_by": {
                  "object": "user",
                  "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
                }
              },
              "last_edited_time": {
                "id": "%40Lm%3E",
                "type": "last_edited_time",
                "last_edited_time": "2026-01-15T11:00:00.000Z"
              }
            }
          }
        },
        {
          "label": "URL",
          "value": "url",
          "schema": {
            "type": "string",
            "example": "https://www.notion.so/d0e1f2a3b4c56789defa890123456789"
          }
        },
        {
          "label": "Public URL",
          "value": "public_url",
          "schema": {
            "type": "string",
            "example": "https://acme.notion.site/Launch-plan-d0e1f2a3b4c56789defa890123456789"
          }
        }
      ]
    }
  ]
}
```
