Skip to content
Notis

Inspect a Flux query structure shared in Telegram

Use a message containing a Flux script as the cue to generate its abstract syntax tree, making query structure easier to inspect.

Trigger

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

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

Query snippets shared in chat can be difficult to review structurally before someone runs or revises them.

  • Inspect the structure of a shared Flux script.
  • Catch syntax-level issues earlier in a review.
  • Keep query troubleshooting connected to the conversation that raised it.

Setup

Build it in a few focused steps.

  • 1Connect Telegram and InfluxDB Cloud once in the Notis portal.
  • 2Create the automation in the portal or describe the outcome to Notis in plain language.
  • 3Ask Notis in one instruction to recognize messages containing a Flux script and generate its query AST for structural inspection.
  • 4Choose New Message Received and select a channel for run reports.
  • 5Test with one real Flux snippet and review the returned AST result.

Questions about this workflow

Does generating the AST prove the query is semantically correct?

No. The action validates syntax structure and returns an AST; it does not check semantic correctness.

Can it run the query?

No. This action generates a query AST for inspection rather than executing the query.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Influxdb cloud. A trigger fires from one place; an action lands in another.

Telegram triggers

Influxdb cloud actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Delete User

Tool to delete a user by ID. Use when you need to remove a user in InfluxDB Cloud; requires an operator token.

ActionInstant

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

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).

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

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.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

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.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Sign In

Tool to create a user session by authenticating credentials. Use when initiating a user session after collecting credentials.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Sign Out

Tool to expire a user session using a session cookie. Use when ending an authenticated session after signin.

ActionInstant

Update DBRP

Tool to update a DBRP mapping's default and retention policy. Use when modifying an existing DBRP mapping after initial creation.

ActionInstant

Connect any two apps with Notis in the middle.

Telegram 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.