Check Flux query structure from a Notion draft
Keep query drafting in your notes and use InfluxDB's AST generator to inspect the structure when the draft changes.
Trigger
Page Content Updated
Triggers when the body content of a Notion page is updated. Customer optionally scopes with at most one of: - data_source_id: any row in this data source - page_id: this specific page - parent_page_id: any page whose immediate parent is this page With none set, fires for any page content edit in the workspace the integration has access to. Notion aggregates content edits within a short window (~60s typical).
Action
Generate Flux Query AST
Tool to generate a Flux query Abstract Syntax Tree (AST). Use when you need to inspect the structure of a Flux script. Use after composing your Flux query; this validates syntax and returns the AST (does not check semantic correctness).
Why this helps
Switching between query notes and a separate validation step creates avoidable friction during analysis.
- Run a structural check after editing a query draft.
- Keep analysis notes and query iteration connected.
- Catch syntax structure issues before a deeper investigation.
Setup
Build it in a few focused steps.
- 1Connect Notion and InfluxDB Cloud to Notis once in the portal.
- 2Create an automation whose plain-language prompt asks Notis to pass the Flux draft from the page to the AST generator.
- 3Select Page Content Updated and scope it to the query draft page.
- 4Choose a channel for run reports and test with a valid query example.
Questions about this workflow
Does AST generation prove the query will return the expected data?
No. It validates syntax structure and returns an AST, but does not check semantic correctness.
Can I draft the query in Notion?
Yes. Keep the Flux draft in the page and describe in the prompt how Notis should use the updated content.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Notion to Influxdb cloud. A trigger fires from one place; an action lands in another.
Notion triggers
Influxdb cloud actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Dashboard Cell
Tool to add a cell to a dashboard. Use when you want to add or copy a cell to an existing dashboard after verifying the dashboard exists.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete User
Tool to delete a user by ID. Use when you need to remove a user in InfluxDB Cloud; requires an operator token.
All Page Events
Triggers when any Notion page is created or updated across the workspace.
Generate Flux Query AST
Tool to generate a Flux query Abstract Syntax Tree (AST). Use when you need to inspect the structure of a Flux script. Use after composing your Flux query; this validates syntax and returns the AST (does not check semantic correctness).
Comment Created
Triggers when a new comment is created in Notion. Optional `page_id` filter scopes to comments on a specific page. When omitted, fires for any new comment in the workspace the integration has access to. Requires the 'Read comments' capability on the Notion integration. If a connection was authorized before that capability was enabled, the user must re-authorize the connection for comment events to flow.
Get DBRP Mapping
Tool to retrieve a DBRP mapping by ID. Use when you need to fetch details of a specific DBRP mapping in InfluxDB Cloud.
New Comment
Triggers when a new comment is added to a specified Notion block or page.
List Routes
Tool to list top-level API routes. Use when you need to discover all available API endpoints for an instance. Call after setting a valid authorization token.
Database Created
Triggers when a new Notion database (the container) is created. A database is the post-2025-09-03 container that holds one or more data sources. This trigger fires for the container's creation event (`database.created`), distinct from `NOTION_DATASOURCE_CREATED` which fires when a new data source is added to an existing database. Most customers calling Notion's `POST /v1/databases` (the legacy API) or creating a database via the Notion UI will see this event. Adding a new data source to an existing database fires `data_source.created` instead — use `NOTION_DATASOURCE_CREATED` for that. Notion's payload puts `entity.type: "block"` (the container is a `child_database` block in the content tree) and `entity.id` is the database id.
Sign In
Tool to create a user session by authenticating credentials. Use when initiating a user session after collecting credentials.
Data Source Created
Triggers when a new Notion data source is created. Fires workspace-wide. The payload's `data.parent` carries the data source's tree parent (typically the teamspace) for downstream filtering. A single template-based database creation can fire multiple `data_source.created` events at once — one per data source the template instantiates.
Sign Out
Tool to expire a user session using a session cookie. Use when ending an authenticated session after signin.
Data Source Schema Updated
Triggers when a Notion data source's schema is updated. Fires on column add / remove / rename. Payload includes `data.updated_properties: [{id, name, action}]` so consumers can discriminate the kind of change downstream. Optional `data_source_id` filter scopes to schema changes on a single data source. When omitted, fires for any schema change in the workspace the integration has access to. Note: adding a column also fires `page.properties_updated` once per existing row in the data source. Customers wanting a single structural-change signal should use this trigger.
Update DBRP
Tool to update a DBRP mapping's default and retention policy. Use when modifying an existing DBRP mapping after initial creation.
Connect any two apps with Notis in the middle.
Notion and Influxdb cloud, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Influxdb cloud.