NappAI CMS Insights
NappAI CMS Insights measures the NappAI CMS website and saves in the CMS the analysis a flow makes. It reads visits and conversions, form submissions, what Google Search Console shows, the SEO and GEO audit, and the improvements with what has been learned from them. Then it saves a run’s report and proposed improvements.
Reads give aggregate data, with no personal data. The component never publishes anything or decides an improvement: it only proposes it.
When to use it
- In the flow the CMS launches for the weekly report, to read the metrics and save the report (
Save Report) and the improvements (Save Improvements). - To send a channel a summary of the visits or forms of the last few days.
- To review a page’s SEO and GEO audit before publishing it.
- To read what has been learned from past improvements before proposing new ones (
Get Learnings).
Configuration
You need a NappAI-CMS credential with the address of your NappAI CMS (for example https://web.your-company.com) and a key that starts with ncms_. See Credentials.
A CMS administrator creates the key in Ajustes › IA › Conexión con NappAI › Claves NappAI-CMS, and the CMS shows it only once. It is a service key: it reads, prepares drafts and saves results, but never publishes. The address must start with https://; http:// is only accepted with localhost, in development.
| Field | What it does |
|---|---|
| Credential (required) | The NappAI-CMS credential. It fills in CMS Address and NappAI-CMS Key for you. |
| Resource | What you work with: Analytics, SEO and GEO, Improvements or Reports. Default: Analytics. |
| Operation | What you do. The list changes with the chosen Resource. See Resources and operations. |
| Idempotency Key (advanced) | Optional, for the operations that save. With the same key, sending again does not save twice. Empty: runId:result type is used, so a retry never saves twice. |
The CMS’s error messages come in Spanish and are shown as they arrive.
Resources and operations
Analytics
| Operation | What it does | Fields |
|---|---|---|
Get Visits | Reads the visits and conversions of the last days: visitors, page views, bounce, conversions, sources, campaigns, devices and clicks. | Days: 1 to 365, default 30. |
Get Form Submissions | Reads the form submissions of the last days, by form, day, page, source and consent. | Days (1 to 365, default 30). Optional: Form, a form’s id to see only that one. |
Get Google Data | Reads what Google Search Console shows: queries, impressions, clicks, position and opportunities. | Days: 7 to 90, default 28; compared with the same number of days before. Optional: Page, a page’s path, for example /pricing. Empty: the whole website. |
If the CMS has no Search Console connected, Get Google Data returns a text saying so.
SEO and GEO
| Operation | What it does | Fields |
|---|---|---|
Run SEO and GEO Audit | Runs the SEO and GEO audit of the published pages, or of one, and returns its score (0 to 100) and findings. | Optional: Page, a published page. Empty: all of them. |
The audit has no period: it always looks at the pages as they are published.
Improvements
| Operation | What it does | Fields |
|---|---|---|
List Improvements | Lists the website’s improvements, optionally only those in one status. | Status: All (default, no filter), propuesta, prueba, ganadora, borrador, aplicada, medida or descartada. |
Get Learnings | Reads what has been learned from past improvements: what kind of change worked and what the team discards. | |
Save Improvements | Saves in the CMS the improvements proposed in the run, after checking them against the CMS contract. | Run ID or Chat Input, Improvements (JSON). Optional: Source. |
- Improvements (JSON) is the JSON
{"improvements": [...]}or just the list, with at most 10 improvements. Each hastitleandreason(required) and, if you want,page,section,change,expectedImpactandmetric.changeis a list ofset,moveoraddItemoperations. - Source says where they come from:
semanal(default) is the weekly analysis;mcp, an agent. It is applied to the improvements that don’t say.
Reports
| Operation | What it does | Fields |
|---|---|---|
Save Report | Saves the run’s report in the CMS, after checking it against the CMS contract. | Run ID or Chat Input, and the report: Title, Summary and Body (Markdown), or all of it in Whole Report (JSON). Optional: Highlights, Period From, Period To and Period Days. |
- Title, Summary (a summary of a few sentences) and Body (Markdown) (the whole report) are required by the CMS.
- Highlights are the most important points, one per line or as a JSON list.
- Period From and Period To are the start and end dates, for example
2026-03-01. Period Days is how many days it covers. - Whole Report (JSON) is the whole report as JSON
{title, summary, body, highlights, period}. If filled in, it wins over the loose fields.
In Save Improvements and Save Report, Run ID is the runId the CMS sends. It is optional if you connect to Chat Input the flow’s input message, the JSON {"runId", "task", "contract"} the CMS sends. If the data breaks the contract, the component names the field that fails and sends nothing.
Output
The Data output returns the CMS’s answer as data. With Save Improvements and Save Report: run, saved (what was saved) and duplicate (whether an earlier send with the same key had already saved it).
The component can be connected to an Agent as a tool. See Tools.
Example
The flow the CMS launches every week for the website report:
- The flow starts with Chat Input and NappAI CMS Run with
Get Run Input. - Add several NappAI CMS Insights:
Get Visits,Get Form Submissions,Run SEO and GEO Audit,Get Google DataandGet Learnings. - A model or an agent writes the analysis with all of that.
- Save the report with
Save Reportand the improvements withSave Improvements. - Finish with NappAI CMS Run and
Set Run Statusset todone. In the error branch,failedwith the reason.
Good practices
- Saving doesn’t close the run: always add
Set Run Statusof NappAI CMS Run. - If the CMS rejects the data with a 4xx error, don’t just retry: fix it (a 422 error says which field fails) and send it again.
- Read
Get Learningsbefore proposing improvements, so you don’t repeat what the team has already discarded.
Security and limitations
- The CMS key only proposes: it publishes nothing and doesn’t decide which improvement is applied.
- Metrics are aggregate, with no personal data.
Related components
- NappAI CMS Run: read the run’s input and close it.
- NappAI CMS AI Watch: what the AIs say about the brand.
- NappAI CMS Webhook: starts a flow with the daily metrics summary or the proposed improvements.