Notion Uploader avatar

Notion Uploader

Try for free

No credit card required

View all Actors
Notion Uploader

Notion Uploader

filip_cicvarek/notion-uploader
Try for free

No credit card required

Upload data into a specified Notion database. It dynamically maps data from any Actor / Dataset to your Notion properties, ensuring your database stays up-to-date with the latest information.

Notion Uploader is an Apify Actor that dynamically maps and uploads data into a specified Notion database. This Actor is designed to integrate seamlessly with various Actors or datasets, enabling you to populate your Notion database with structured information effortlessly.

Included Features

  • Dynamic Notion Properties Mapping - Automatically maps and uploads data to Notion properties based on the schema of your Notion database.
  • Multiple Data Sources Support - Pull data either from a provided dataset ID or from the dataset associated with the previous Actor run.

How it Works

  1. Input Configuration:
    • The Actor takes input for the Notion API key, the Notion database ID, data mapping, and optionally, a dataset ID. If a dataset ID is not provided, the Actor will use the dataset from the previous Actor run.
  2. Data Retrieval:
    • The Actor fetches the data from the specified dataset.
  3. Data Mapping:
    • The data mapping input defines how data fields from the dataset map to Notion properties. The Actor dynamically determines property types based on the Notion database schema. If a required property does not exist and the creation option is enabled, the Actor will create the property in the Notion database.
  4. Page Creation:
    • For each item in the dataset, the Actor creates a new page in the specified Notion database with the mapped properties.

Input Configuration

  • notionApiKey: Your Notion API key to authenticate requests.
  • notionDatabaseId: The ID of the Notion database where pages will be created.
  • dataMapping: JSON string that defines the mapping between dataset fields and Notion properties.
  • datasetId: (Optional) The ID of the dataset to use. If not provided, the dataset from the integrated Actor run will be used.
  • createMissingProperties: (Optional) A boolean flag to indicate whether the Actor should create new properties in the Notion database if they do not exist.

Input example

1{
2  "notionApiKey": "secret_ABC123XYZ456",
3  "notionDatabaseId": "1e808e641b47474da01f59005b27b372",
4  "dataMapping": "{\n  \"Title\": \"titleField\",\n  \"URL\": \"urlField\",\n  \"Description\": \"descriptionField\"\n}",
5  "datasetId": "ddvmv9TBDBOHGSeWP",
6  "createMissingProperties": true
7}

Resources

Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Aug 2024
  • Modified about 1 month ago