AI sections
Generate notebook content and SQL query cells from a prompt, and reference your tables so the result matches your data.
Describe what you want in a notebook's AI prompt, and Intuidy adds a cell with written content or a SQL query, based on the tables, workflows, and dashboards you reference.
Before you start
- You need permission to edit notebooks and access to AI features in your company. A notebook marked Read-only can't be changed.
- To generate SQL against your own tables, connect at least one database. See Connect an integration.
Generate a cell from a prompt
- Go to Notebooks and open a notebook.
- In the AI prompt, choose a mode: Auto, Content, or SQL.
- Enter what you want, for example
Summarize open orders by region for Northwind Supply. - Type
@, or select Reference data (@), and choose the table, workflow, dashboard, or notebook your request is about. You can search by name. - Press EnterReturn.
The prompt shows Generating… while Intuidy works, then Generated. The result is added to the notebook as a cell. Select Dismiss to clear the status message.
| Mode | What Intuidy writes |
|---|---|
| Auto | Written content, or a SQL query when you clearly ask for one. |
| Content | Always content cells: markdown, metrics, or checklists. |
| SQL | Always a SQL query cell. |
A generated query is an ordinary SQL query cell. Review the SQL, then select Run query or press CtrlCommand + EnterReturn to see the results. For what you can do with the results, see Query and compute cells.
If you ask for SQL without referencing a table, the query assumes table and column names. Reference the table with @ so the query is written against its actual schema.
Generate inside a cell
Markdown cells and SQL query cells each have their own prompt. Use it when you already have the cell and want Intuidy to write its content.
- On a markdown cell or a SQL query cell, select AI Generate.
- Enter a description. For a markdown cell, describe what to write, such as
Overview of Q1 sales metrics. For a SQL query cell, describe the query, such asShow top 10 customers by revenue. - Press EnterReturn.
The cell shows Generating…, then confirms that the content or the SQL query was generated. To close the prompt without generating, select Close AI prompt.
You can also start from Generate with AI… in the notebook's menu bar.
Troubleshooting
- The reference list says no connected databases were found. No database is connected for you to reference. Connect one in Settings → Integrations, then reopen the notebook.
- The reference list says no tables match your search. Shorten the search text or check the table name.
- The SQL uses table or column names that don't exist. No table was referenced, so the names were assumed. Run the prompt again and reference the table with
@. - The message says the AI returned empty content. Rephrase the prompt and be specific about what the cell should contain.
- The request timed out. Use a shorter prompt, or ask for one part of the document at a time.
- The message says the request is still running in the background. The generation took longer than the connection allowed, but it hasn't stopped. Reload the notebook after a moment to see the result.
- The status shows Failed, or a message starts with "AI generation failed". The message includes the reason. For a network error, check your connection and try again.
↳ Query and compute cells ↳ Embed tiles ↳ What AI and agents receive