Fmod and notion intergration

Below is the README tutorial for this and it also explains what it does. You will need to download the zip file attached to this post, but this was quite fun to figure out and I wanted to share.

fmod-notion-ready-kit.zip

FMOD → Notion Ready Kit

A reusable, project-local setup for syncing an FMOD Studio event registry into a Notion database.

After setup, your normal workflow is just:

FMOD Studio → Scripts → Notion → Export + Sync FMOD Event Registry

The kit exports your FMOD events to:

<FMOD_PROJECT>/fmod-event-registry.json

Then it syncs them into Notion as a database/table with columns for event path, banks, parameters, category, status, Unity implementation, mix check, warnings, and last export date.


What this is for

This is useful when a game-audio team wants a visible production tracker / Sonic Bible for FMOD events without manually maintaining a Notion table.

Example Notion columns:


Requirements

  • macOS (Might work for windows, but you might have to do some work on your own to get it working)

  • FMOD Studio with scripting enabled

  • Node.js 18 or newer. The installer saves the exact Node path, so FMOD users should not need to fix PATH manually.

  • A Notion account

  • A Notion internal integration/connection

  • A normal Notion page where the registry database should be created

Check Node:

node -v

If you do not have Node installed, install it from https://nodejs.org/.


How hard is this for teammates?

The normal teammate setup should be:

1. Install Node.js if they do not already have it

2. Create or use a Notion integration token

3. Share one Notion page with that integration

4. Run START_HERE.command

5. In FMOD: Scripts → Reload → Notion → Export + Sync FMOD Event Registry

They should not need to manually edit hidden folders, PATH variables, Node paths, page IDs, or shell scripts. The installer writes the local config automatically.

If FMOD later says `command not found: node`, rerun the installer. This version saves the full Node binary path into `.fmod-notion/local.env`.

One-time Notion setup

1. Create a Notion integration

Create an internal Notion integration, for example:

FMOD Integration

Give it these capabilities:

  • Read content

  • Insert content

  • Update content

Copy the installation access token. It should start with:

ntn_

Do not paste this token into Discord, GitHub, ChatGPT, or any shared document.

2. Create a normal Notion page

Make a page called something like:

FMOD Event Registry Setup

3. Share the page with the integration

Open that Notion page:

••• → Connections / Add connections → FMOD Integration

This is required. If you skip it, the API will usually fail with `404 object_not_found`.

4. Copy the Notion page link

Copy the full link to the page. The installer can parse the page ID from the full URL.


Install into an FMOD project

Unzip this kit/folder somewhere stable, for example:

~/Documents/fmod-notion-ready-kit

Open Terminal and paste in:

cd ~/Documents/fmod-notion-ready-kit
node install_for_project.mjs

Note that if you have placed the folder somewhere other than Documents you have to change the command above to reflect that.


On macOS, you can also double-click:

START_HERE.command

If it does not work just open the terminal and paste.

The installer will ask for:

1. Your FMOD project folder or `.fspro` file

2. Your Notion token

3. The Notion setup page URL

Tip: you can drag the FMOD project folder or `.fspro` file into Terminal when it asks for the path.

If everything works, it creates:

<FMOD_PROJECT>/Scripts/fmod_export_event_registry.js
<FMOD_PROJECT>/.fmod-notion/notion_sync_fmod_events.mjs
<FMOD_PROJECT>/.fmod-notion/sync_from_fmod.sh
<FMOD_PROJECT>/.fmod-notion/local.env
<FMOD_PROJECT>/.fmod-notion/README_LOCAL.md

It also creates the Notion database automatically.


Use it in FMOD Studio

Open your FMOD project.

Then:

Scripts → Reload
Scripts → Notion → Export + Sync FMOD Event Registry

That will:

1. Export all FMOD events to `fmod-event-registry.json`

2. Start the Notion sync automatically

3. Update/create rows in your Notion database

There is also an export-only command:

Scripts → Notion → Export FMOD Event Registry Only

What to commit to GitHub

Commit this:

Scripts/fmod_export_event_registry.js
.fmod-notion/notion_sync_fmod_events.mjs
.fmod-notion/sync_from_fmod.sh
.fmod-notion/README_LOCAL.md

Do not commit this:

.fmod-notion/local.env
.fmod-notion/logs/
fmod-event-registry.json

The installer automatically adds these to .gitignore:

.fmod-notion/local.env
.fmod-notion/logs/
fmod-event-registry.json

local.env contains your Notion token, so it must stay private.


Sharing with teammates

Give teammates this kit folder or commit it to a tools repo.

Each person runs:

node install_for_project.mjs

They should use their own Notion token or a team integration token approved for the workspace.

Because `local.env` is ignored, each person has their own local secret config.


How updates work

The sync matches FMOD events to Notion rows by FMOD event path, for example:

event:/Radio/Knut_Intro

If the row already exists, the script updates FMOD-controlled fields:

  • Event

  • Path

  • GUID

  • Category

  • Banks

  • Parameters

  • Markers

  • Warnings

  • Last FMOD Export

It does not overwrite these human/project-management fields after the row is created:

  • Status

  • Unity Implemented

  • Mix Checked

That means you can safely use Notion as a tracker without losing manual status work every time you sync.


Optional: archive deleted FMOD events

By default, if an FMOD event disappears, the Notion row is left alone.

To move missing events to trash on sync, edit:

<FMOD_PROJECT>/.fmod-notion/local.env

Change:

ARCHIVE_MISSING='false'

to:

ARCHIVE_MISSING='true'

Troubleshooting

API token is invalid

You copied the wrong value, or the token was revoked.

The token must start with:

ntn_

Run:

node notion_doctor.mjs

404 object_not_found

Usually one of these:

1. The Notion page is not shared with the integration.

2. The Notion page is in a different workspace than the integration.

3. You pasted the wrong Notion page link.

Fix:

Open Notion page → ••• → Connections → Add connections → FMOD Integration

NOTE: Notion can act up sometimes and if nothing works I would try to log in and out of Notion. Basically turn it off and on.

FMOD menu does not appear

Check that this file exists:

<FMOD_PROJECT>/Scripts/fmod_export_event_registry.js

Then in FMOD:

Scripts → Reload

FMOD says sync started but Notion does not update

Open this log:

<FMOD_PROJECT>/.fmod-notion/logs/last-sync.log

It usually tells you exactly what went wrong.

Terminal says `node: command not found`

Install Node.js from <https://nodejs.org/>.


Files explained

install_for_project.mjs

The main installer. It tests the Notion token, tests page access, creates the Notion database, and installs the project-local FMOD files.

templates/fmod_export_event_registry.js

The FMOD Studio script copied into your project `Scripts` folder.

templates/notion_sync_fmod_events.mjs

The Node worker copied into `.fmod-notion/`. It syncs `fmod-event-registry.json` to Notion.

templates/sync_from_fmod.sh

The shell wrapper started by FMOD. It loads `.fmod-notion/local.env` and runs the sync worker.

notion_doctor.mjs

A small test tool for token and page-access problems.


Security notes

Never share your Notion token.

Never commit:

.fmod-notion/local.env

If a token is accidentally pasted in chat, Discord, Notion, GitHub, or anywhere public, revoke/regenerate it in Notion.