@awesomate/hosting-mcp 0.142.0 → 0.156.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/dist/index.js +3017 -2519
- package/package.json +2 -2
- package/skill/CHANGELOG.json +134 -0
- package/skill/awesomate-app-builder/SKILL.md +1 -1
- package/skill/awesomate-email/SKILL.md +26 -3
- package/skill/awesomate-funnels/SKILL.md +12 -9
- package/skill/awesomate-funnels/references/lead-magnet.md +8 -6
- package/skill/awesomate-funnels/references/webinar.md +2 -2
- package/skill/awesomate-hosting/SKILL.md +17 -13
- package/skill/awesomate-knowledge/SKILL.md +21 -21
- package/skill/awesomate-knowledge/evals/deploy-chat-agent/graders/grader.md +1 -1
- package/skill/awesomate-knowledge/evals/out-of-scope-honesty/graders/grader.md +1 -1
- package/skill/awesomate-knowledge/references/citations-and-grounding.md +7 -4
- package/skill/awesomate-knowledge/references/faqs.md +9 -7
- package/skill/awesomate-knowledge/references/from-your-files.md +14 -12
- package/skill/awesomate-knowledge/references/ingestion-sources.md +3 -1
- package/skill/awesomate-knowledge/references/n8n-connection.md +3 -2
- package/skill/awesomate-knowledge/references/people-and-entities.md +2 -1
- package/skill/awesomate-knowledge/references/quotas-and-packs.md +1 -1
- package/skill/awesomate-knowledge/references/showing-media.md +13 -5
- package/skill/awesomate-n8n/SKILL.md +4 -3
- package/skill/awesomate-n8n/references/awesomate-node.md +2 -2
- package/skill/awesomate-n8n/references/n8n-agents.md +1 -1
- package/skill/awesomate-n8n/references/staff-alerts.md +1 -1
- package/skill/awesomate-n8n/references/troubleshooting.md +1 -1
- package/skill/awesomate-onebrain/SKILL.md +10 -5
- package/skill/awesomate-seo/SKILL.md +6 -6
- package/skill/awesomate-support/SKILL.md +1 -1
|
@@ -99,14 +99,16 @@ has no file yet, start one.
|
|
|
99
99
|
|
|
100
100
|
## With the FAQ tool (use this first)
|
|
101
101
|
|
|
102
|
-
`awesomate_knowledge_faq`
|
|
102
|
+
`awesomate_knowledge_faq` (reads) and `awesomate_knowledge_faq_change` (saves, publishes,
|
|
103
|
+
edits) store every question and answer as its own entry, so an owner can
|
|
103
104
|
fix one answer without re-uploading a file, and every citation names the exact entry. Use it
|
|
104
105
|
whenever it is in your tools. The Markdown method above is the fallback, for when the tool
|
|
105
106
|
answers `faq_unavailable`.
|
|
106
107
|
|
|
107
108
|
1. Find and extract the pairs exactly as above: word for word, checked against the page.
|
|
108
109
|
The tool can do the reading for you, saving nothing: `{action:'import_page', url}`,
|
|
109
|
-
`{action:'import_text', text}` (pasted FAQs) or `
|
|
110
|
+
`{action:'import_text', text}` (pasted FAQs), or `awesomate_knowledge_faq_change
|
|
111
|
+
{action:'import_file', localPath}` (it opens a file on this computer, so it asks first: a
|
|
110
112
|
.csv, .tsv, .xlsx, .txt, .md, .docx, .pdf, .json or .html file on this computer, max
|
|
111
113
|
5 MB) return `pairs` (kept only where they appear word for word) and `dropped`. Check
|
|
112
114
|
them against the source, show the owner, then save with `import`.
|
|
@@ -117,7 +119,7 @@ answers `faq_unavailable`.
|
|
|
117
119
|
which was scoped to a collection and to `[document, book]`.
|
|
118
120
|
3. `import {setTitle: "<Business> FAQ", visibility: "public", collectionIds: [<the assistant's
|
|
119
121
|
collection>], entries: [...]}` in batches of 200. `collectionIds` places a NEW set; an
|
|
120
|
-
existing set keeps its own collections (move it with `
|
|
122
|
+
existing set keeps its own collections (move it with `awesomate_knowledge_sources_change
|
|
121
123
|
{action:'move', sourceId: setId, collectionIds}`). Ask which collection only when there are
|
|
122
124
|
two or more candidates. Entries land as **drafts**, so nothing is live yet. Re-running it
|
|
123
125
|
later updates the same entries rather than duplicating them.
|
|
@@ -126,25 +128,25 @@ answers `faq_unavailable`.
|
|
|
126
128
|
5. On yes, `publish {setId}`. A public set answers `confirm_required` the first time; repeat
|
|
127
129
|
it with `confirm` set to the account slug, which is only allowed because the owner just
|
|
128
130
|
said yes. Never pass the slug on your own initiative.
|
|
129
|
-
On no, first `
|
|
131
|
+
On no, first `awesomate_knowledge_sources_change {action:'set_visibility', sourceId: setId,
|
|
130
132
|
visibility:'internal'}` (lowering visibility needs no confirm), then `publish {setId}`:
|
|
131
133
|
the team's assistants and the owner's own use the answers, the website assistant does
|
|
132
134
|
not. Leaving them as drafts would hide them from everyone.
|
|
133
135
|
6. **Read the publish result for a `warning`.** It names every assistant that still will not
|
|
134
136
|
answer from the set (limited to another collection, to other kinds, or to picked sources)
|
|
135
137
|
and the call that fixes each: move the set into the collection, or add `faq` to the
|
|
136
|
-
assistant's kinds with `
|
|
138
|
+
assistant's kinds with `awesomate_knowledge_agents_change {action:'update', agentId, kinds}` and
|
|
137
139
|
publish the assistant. Tell the owner and fix it on their yes.
|
|
138
140
|
7. Prove it: ask `awesomate_knowledge_ask` two of the questions reworded, and one thing the
|
|
139
141
|
FAQ does not cover. `awesomate_knowledge_ask` reads the whole library, so also ask the
|
|
140
|
-
assistant itself (`
|
|
142
|
+
assistant itself (`awesomate_knowledge_agents_change {action:'visitor_test'}` for a public one,
|
|
141
143
|
`test` otherwise) one of the questions.
|
|
142
144
|
|
|
143
145
|
Fixing one answer later is `list {setId, q: "<words from the question>"}` to find it, then
|
|
144
146
|
`update {entryId, answer}` (a live public answer needs the owner's yes again). `archive` takes
|
|
145
147
|
an entry out of every answer without deleting it.
|
|
146
148
|
|
|
147
|
-
## Questions the assistant couldn't answer (
|
|
149
|
+
## Questions the assistant couldn't answer (every plan)
|
|
148
150
|
|
|
149
151
|
A public assistant keeps the questions it could not answer, grouped so every way of asking
|
|
150
152
|
shows as one. Clearing them is the fastest way to make the assistant better, and it is the
|
|
@@ -35,12 +35,12 @@ contents never pass through the conversation and a 100 MB PDF costs no context.
|
|
|
35
35
|
twenty files.
|
|
36
36
|
- 100 MB per file. Bigger media goes through the hub at Knowledge → Sources.
|
|
37
37
|
- A folder path is rejected on purpose — list it, agree the files, then upload.
|
|
38
|
-
- Public URLs and whole sitemaps stay on `
|
|
38
|
+
- Public URLs and whole sitemaps stay on `awesomate_knowledge_sources_change`
|
|
39
39
|
`{action:'add'}`. Use that for their website; use upload for their disk.
|
|
40
40
|
- **Files already in their File Manager** (the n8n file system at hub
|
|
41
41
|
Files — `public/`, `private/`, `temp/`, where their workflows write
|
|
42
42
|
outputs): `awesomate_knowledge_upload {fromFilesPath: 'public/reports/x.md'}`
|
|
43
|
-
for one file, or a folder rule with `
|
|
43
|
+
for one file, or a folder rule with `awesomate_knowledge_sources_change
|
|
44
44
|
{action:'sync_rule_create', pathPrefix, visibility, collectionIds, sheetKind?}` so
|
|
45
45
|
every file a workflow drops there is ingested automatically (uploads sync
|
|
46
46
|
at once, everything else on a 15-minute sweep). Spreadsheets in the folder
|
|
@@ -61,7 +61,7 @@ contents never pass through the conversation and a 100 MB PDF costs no context.
|
|
|
61
61
|
spaces, punctuation and non-ASCII letters become `_`
|
|
62
62
|
("Kōwhai Dance — Questions parents ask us" lands as
|
|
63
63
|
`K_whai_Dance_Questions_parents_ask_us`), even when you pass `title`. Fix it
|
|
64
|
-
with `
|
|
64
|
+
with `awesomate_knowledge_sources_change {action:'rename', sourceId, title}` once the
|
|
65
65
|
job has succeeded. The library shows the new title at once; search hits and
|
|
66
66
|
citations can keep the old one for a while, so check with a search before
|
|
67
67
|
telling the user citations have changed. Word/PowerPoint/RTF/EPUB/HTML files are refused with a
|
|
@@ -109,7 +109,7 @@ before a customer sees it. Show the citations.
|
|
|
109
109
|
|
|
110
110
|
## 5. Draft the agent
|
|
111
111
|
|
|
112
|
-
`
|
|
112
|
+
`awesomate_knowledge_agents_change {action:'create', goal, audience, collectionIds}`:
|
|
113
113
|
describe what the agent is for and the platform drafts instructions, scope,
|
|
114
114
|
tone and test questions from the account's own content. It saves as a
|
|
115
115
|
**private draft**; nothing is live and nothing is lost.
|
|
@@ -142,15 +142,17 @@ way to check behaviour. Test the awkward cases: something out of scope, a
|
|
|
142
142
|
pricing question, a complaint, an ambiguous question. Confirm the refusal
|
|
143
143
|
wording is what the business would actually want to say.
|
|
144
144
|
|
|
145
|
-
**The draft test is not what the public sees.** It
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
**The draft test is not what the public sees.** It can quote internal or
|
|
146
|
+
private sources that a published public agent never shows (seen live: a draft
|
|
147
|
+
quoted an internal staff handbook's door code and Wi-Fi password). A team
|
|
148
|
+
member's key reads internal and public sources only; private sources are the
|
|
149
|
+
owner's, and a team member cannot test an agent whose audience is private
|
|
150
|
+
(`owner_only_agent`). After publishing a customer-facing agent, ask the same
|
|
151
|
+
awkward questions with `{action:'visitor_test', agentId, message}`: it runs the
|
|
150
152
|
PUBLISHED agent through the real public visitor path, which is what a website
|
|
151
|
-
visitor actually gets (the published agent refused the door code). It
|
|
152
|
-
|
|
153
|
-
|
|
153
|
+
visitor actually gets (the published agent refused the door code). It works on
|
|
154
|
+
every plan, and a question it cannot answer lands in the owner's Questions
|
|
155
|
+
inbox, so say so before using it.
|
|
154
156
|
|
|
155
157
|
Access policies (the customer groups an agent narrows to: a policy named
|
|
156
158
|
`segment:all` or `segment:<group>`) are `policies` / `policy_create` /
|
|
@@ -11,7 +11,7 @@ estimating BEFORE asking approval.
|
|
|
11
11
|
| Web page / blog post | `add {url}` | One page per URL. A page that can't be reached, or has under 200 characters of readable text, fails the job with the reason (`error_code` `page_unreachable` or `page_unreadable`) rather than succeeding empty |
|
|
12
12
|
| Whole site / blog | `add {sitemap, since?}` | A `sitemap.xml`, or a sitemap index that points to other sitemaps. Only pages on the sitemap's own site are read. Up to 500 pages per job: a sitemap listing more adds the first 500 and carries on in a follow-on job (`result_summary.remaining` and `continued_as`), so nothing is cut off silently. The one exception: when the workspace's allowance has run out (`paused: "credit_exhausted"`), no follow-on job is made and nothing resumes by itself; say how many pages were not read, and add the sitemap again after a top-up (pages already in are skipped as unchanged). `since` skips entries whose `<lastmod>` is older; when every entry is older, the job succeeds having added nothing. A sitemap that lists no pages to read fails with a plain reason: the address is a web page rather than a sitemap, it lists no page addresses, its pages are all on another site, or the sitemaps it points to couldn't be opened |
|
|
13
13
|
| Link to one Vimeo or Wistia video | `add {url}` | **Copied and transcribed**, with playback, when that provider's library is connected (hub, Knowledge, Video library) and the plan includes audio and video (Pro and above, within the month's media hours): the job's `kind` is `video-link`. Not connected yet, or a channel, showcase or folder rather than one video: read as a web page, which often has too little text and fails (`page_unreadable`); once the library is connected, add the link again. Below Pro, or in a trial, it is refused (403 `upgrade_required`, `capability: "media_ingest"`) |
|
|
14
|
-
| A whole Vimeo or Wistia library | hub, Knowledge, Video library | Pro and above. Anyone with full access connects the account with a token that can read the videos, not only the account (Vimeo: a personal access token with Private and Video Files; Wistia: a token with "Read all folder and media data"). The hub lists the library and shows what bringing it in involves before anything is copied or charged: videos with captions come in free, the rest are transcribed at A$15 per 10 hours or brought in without transcription. Only the account owner starts an import. Read progress with `awesomate_knowledge_sources {action:'video_imports'}`; connecting, starting, pausing and
|
|
14
|
+
| A whole Vimeo or Wistia library | hub, Knowledge, Video library | Pro and above. Anyone with full access connects the account with a token that can read the videos, not only the account (Vimeo: a personal access token with Private and Video Files; Wistia: a token with "Read all folder and media data"). The hub lists the library and shows what bringing it in involves before anything is copied or charged: videos with captions come in free, the rest are transcribed at A$15 per 10 hours or brought in without transcription. Only the account owner starts an import. Where the account has the video picker, the owner chooses part of the library instead (one video to try first, a folder, the newest few) and is quoted for just that; a library too big to do alone has "Have our team bring it in" in the hub, which raises a ticket and charges nothing. Read progress with `awesomate_knowledge_sources {action:'video_imports'}` (it carries `progress_words`, the `choice` and the `problems` grouped by reason) and browse with `{action:'video_library', importId, view:'folders'|'videos', folderId?, q?, from?, to?}`; connecting, choosing, the quote, starting, pausing, stopping and asking our team stay in the hub, so never say a video is chosen or coming in from what you read |
|
|
15
15
|
| YouTube link | `add {url}` | Refused on every plan (400): "YouTube links are not supported yet". No upgrade changes that, so never offer one for it. Uploading the business's own video files works on Pro and above, or add the page that embeds the video |
|
|
16
16
|
| Any other link to a recording (Loom, podcast audio, a file address) | `add {url}` | **Not transcribed.** Read as a web page, which gives at most its title and description; a link straight to an audio or video file has no page to read and fails (`page_unreadable`). Pro and above; below Pro, or in a trial, it is refused (403 `upgrade_required`, `capability: "media_ingest"`). To transcribe the recording, upload the file |
|
|
17
17
|
| PDF / book / document / markdown | hub upload page | Text layer used; scanned pages OCR'd automatically (`auto` mode, capped at 300 OCR pages per job — over that the job fails BEFORE any vision spend) |
|
|
@@ -38,6 +38,8 @@ media are skipped by content hash (`unchanged` / `transcript_cached` in the
|
|
|
38
38
|
job summary). Typical time-to-searchable: minutes for pages; media takes
|
|
39
39
|
longer (roughly the media's own duration as a worst case).
|
|
40
40
|
|
|
41
|
+
To bring a web page up to date, use `refresh` {sourceId}, or `add` the same address again: both update it in place (same source, visibility, tags and collections kept; without `visibility`, an existing source keeps its own). A refresh job's `summary_text` reads "Read again: updated" or "Read again: no change since <date>"; a plain re-add reads as an add ("1 already up to date"). A video or recording link is refused by `refresh`: sent again it would come in as the video. `refresh` on anything but a web page answers `not_a_web_page`: upload the file again instead.
|
|
42
|
+
|
|
41
43
|
## Cost expectations (for the approval conversation)
|
|
42
44
|
|
|
43
45
|
- Text (pages, posts, books): cents to a few dollars for a typical corpus.
|
|
@@ -58,8 +58,9 @@ Variables (all read from `$vars`, all with fallbacks):
|
|
|
58
58
|
Flow you drive: confirm the knowledge base is active with indexed content and
|
|
59
59
|
one published agent with the Public audience → the member installs the bundle from the hub's
|
|
60
60
|
**Library** page (`/templates`, card "Verified Content Chat Agent"), or you install it
|
|
61
|
-
for them with `awesomate_n8n_library { action: 'install_plan'
|
|
62
|
-
|
|
61
|
+
for them with `awesomate_n8n_library { action: 'install_plan', slug }` then
|
|
62
|
+
`awesomate_n8n_library_change { action: 'install', slug }` (a redeem token Awesomate
|
|
63
|
+
handed over goes through `awesomate_n8n_library_change { action: 'redeem', token }`) → the workflow publishes on install once the scope credential
|
|
63
64
|
is verified → open "When chat message received", copy the **Chat URL**, and
|
|
64
65
|
give them the embed snippet (it is also in the workflow's HOW IT WORKS note):
|
|
65
66
|
|
|
@@ -5,7 +5,8 @@ the tenant's media (face clusters from photos/video, text names from posts,
|
|
|
5
5
|
books and transcripts). That is what lets `/v1/answer` handle "everything
|
|
6
6
|
about X", "who appears most often with X" and "what connects X and Y" with
|
|
7
7
|
citations. The user curates it — naming, merging, hiding, and deciding alias
|
|
8
|
-
suggestions
|
|
8
|
+
suggestions, through `awesomate_knowledge_people_change` (read with
|
|
9
|
+
`awesomate_knowledge_people`) or the hub's
|
|
9
10
|
Knowledge → People page. The hub stores none of this; every call is a live
|
|
10
11
|
read of platform metadata (ids, counts, titles, locators — never photos,
|
|
11
12
|
never document text).
|
|
@@ -15,7 +15,7 @@ from `awesomate_get_plan_features` for another plan.
|
|
|
15
15
|
| What it is for | Trying it out: your FAQs and an agent that answers from them | Day-to-day use | Everything, at the highest usage |
|
|
16
16
|
| FAQs | Yes | Yes | Yes |
|
|
17
17
|
| Documents, spreadsheets, web pages, pasted text | A small allowance | More | The most |
|
|
18
|
-
| Website chat widget, unanswered-questions inbox |
|
|
18
|
+
| Website chat widget, unanswered-questions inbox | Yes | Yes | Yes |
|
|
19
19
|
| Audio and video, scanned documents and images | No | No | Yes |
|
|
20
20
|
| Ingestion Packs (below) | No: the answer is an upgrade | Yes | Yes |
|
|
21
21
|
|
|
@@ -6,10 +6,10 @@ it in chat or embedding it in something that has to keep working.
|
|
|
6
6
|
|
|
7
7
|
## Getting the URL
|
|
8
8
|
|
|
9
|
-
`awesomate_knowledge_ask` citations do **not** carry media URLs
|
|
10
|
-
`{ref, title, kind,
|
|
11
|
-
`kind` is `image`, `video` or `audio` and the
|
|
12
|
-
with a search:
|
|
9
|
+
`awesomate_knowledge_ask` citations do **not** carry media URLs. They return
|
|
10
|
+
`{ref, title, kind, locator, url}`, plus `watch_url` on a video anyone can
|
|
11
|
+
watch (below). When a citation's `kind` is `image`, `video` or `audio` and the
|
|
12
|
+
user wants to see it, follow up with a search:
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
awesomate_knowledge_search { q: "<the cited title>", kind: "image", include_media: true }
|
|
@@ -59,7 +59,7 @@ and an embed code for a website. It is off by default: the video must be
|
|
|
59
59
|
video's page, or through Claude).
|
|
60
60
|
|
|
61
61
|
```
|
|
62
|
-
|
|
62
|
+
awesomate_knowledge_sources_change { action: "share_video", sourceId: "<video source id>", title: "<its title>" }
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
answers `{enabled, watchable, link, embed}`. `link` is the player page (on the
|
|
@@ -67,6 +67,13 @@ account's own `links.` address when it sends email from its own domain);
|
|
|
67
67
|
`embed` is an iframe of it, safe to paste into a website. Both are null until
|
|
68
68
|
the video is shared.
|
|
69
69
|
|
|
70
|
+
When an answer cites a moment in a shared video, that source carries
|
|
71
|
+
`watch_url`: the same player page, opened at the cited second
|
|
72
|
+
(`.../v/<id>?t=612`). It is a permanent address like `link`, never a signed
|
|
73
|
+
one, so it is safe in a page, a reply email or an n8n chat. Show it as "Watch
|
|
74
|
+
from 10:12". A video that is not shared (or not Public, or switched off) never
|
|
75
|
+
has one, and stops playing the moment that changes.
|
|
76
|
+
|
|
70
77
|
To switch it on, explain that anyone with the link can watch the WHOLE video,
|
|
71
78
|
then call again with `enabled: true` and `confirm` set to the account slug,
|
|
72
79
|
only after the user agrees in so many words. A video that is not Public is
|
|
@@ -81,5 +88,6 @@ false` switches it off at once and needs no confirmation. `enabled` true with
|
|
|
81
88
|
| "show me that photo" | search with `include_media`, display it |
|
|
82
89
|
| "which images mention X" | search `kind:image`, list titles + show a few |
|
|
83
90
|
| a video on a web page, in an email or a post | `share_video`: the permanent link or embed code (switching on needs the slug, after the user agrees) |
|
|
91
|
+
| the moment an answer cited, for anyone to watch | the source's `watch_url` (only on a shared video) |
|
|
84
92
|
| a gallery page / a site section | resolve server-side per request, or re-host the assets; never embed a presigned URL |
|
|
85
93
|
| an n8n chat that returns images | have the workflow call the search endpoint at answer time and return fresh URLs in the reply |
|
|
@@ -86,7 +86,7 @@ as outcomes ("your form now emails you") with URLs.
|
|
|
86
86
|
into the text you're building; don't build new workflows on `$vars.biz_*`,
|
|
87
87
|
which are being replaced. Confirm anything marked *suggestion* first.
|
|
88
88
|
For an agent that helps a role (the API says `job`) on the business
|
|
89
|
-
map, add its `instructionLine` from `awesomate_business_map` action `
|
|
89
|
+
map, add its `instructionLine` from `awesomate_business_map` action `role`.
|
|
90
90
|
|
|
91
91
|
Read [references/platform-notes.md](references/platform-notes.md) BEFORE
|
|
92
92
|
designing or diagnosing. It is the live truth for THIS platform ($vars not
|
|
@@ -133,7 +133,8 @@ the named node actually exists in the workflow before editing anything.
|
|
|
133
133
|
| Executions list / detail / node-by-node debug | `awesomate_n8n_executions` |
|
|
134
134
|
| Node schemas, node search, community templates, node-level validation | `awesomate_n8n_node_docs` |
|
|
135
135
|
| **n8n Agents** (the Agents tab, n8n 2.41+, every plan): status, then create / edit / validate / test / publish / channels via n8n's own agent tools | `awesomate_n8n_agents` |
|
|
136
|
-
| Awesomate's template library
|
|
136
|
+
| Awesomate's template library: list, detail, install_plan (pauses on a missing credential), installs (read-only) | `awesomate_n8n_library` |
|
|
137
|
+
| Installing and running library templates (Support Plus+): install, redeem, activate, test, rollback | `awesomate_n8n_library_change` |
|
|
137
138
|
| Book a session with the Awesomate team from their credits (session_types, slots, book, mine, invitations: sessions our team asked them to book, taken up with `invitation_id` on book) | `awesomate_book_session` |
|
|
138
139
|
| Wire any production webhook URL on their n8n into one of their hosted apps (stores URL + secret on the app; returns the secret ONCE for the workflow's header check) | `awesomate_n8n_attach_to_app` |
|
|
139
140
|
| Refresh these skills from the latest package | `awesomate_skill_update` |
|
|
@@ -286,7 +287,7 @@ loop: nothing is designed, the bundle is installed as curated.
|
|
|
286
287
|
`ambiguous` needs their pick (`credential_choices`, type to credential id).
|
|
287
288
|
- `blocked`: read `blockers` verbatim. A plan or consent block has a settings link; a
|
|
288
289
|
connection block means their n8n key needs updating (see 0. First run).
|
|
289
|
-
4. `install
|
|
290
|
+
4. `install` (on `awesomate_n8n_library_change`, like steps 5 and 6 and rollback). Read `outcome`: `installed`, `already_present` (nothing changed; say so),
|
|
290
291
|
`failed` (read results[].error). Workflows land INACTIVE.
|
|
291
292
|
5. `activate` (with their OK). A workflow answering `setup_incomplete` has an empty or
|
|
292
293
|
missing credential named in `unresolved`; send them to fill it on their n8n
|
|
@@ -49,7 +49,7 @@ answered 401 on every run.
|
|
|
49
49
|
|---|---|
|
|
50
50
|
| A workflow step on contacts, companies, records, tasks, a decision, figures, the business or the Knowledge Base | **the Awesomate node** |
|
|
51
51
|
| The node lacks that operation (an older n8n, or no node at all) | an **HTTP Request** node to the Hub Key route in the tables below: Authentication Predefined Credential Type, **Awesomate Hub** (or Generic Credential Type, Header Auth, **Awesomate Hub Key**), and header `X-Awesomate-Workflow: {{ $workflow.id }}` |
|
|
52
|
-
| Claude's own change, outside any workflow | the MCP tools: `awesomate_crm_contacts`, `awesomate_crm_companies`, `awesomate_crm_rows`, `awesomate_crm_write`, `
|
|
52
|
+
| Claude's own change, outside any workflow | the MCP tools: `awesomate_crm_contacts`, `awesomate_crm_companies`, `awesomate_crm_rows`, `awesomate_crm_write`, `awesomate_tasks_change` |
|
|
53
53
|
| An app or a script | the SDK |
|
|
54
54
|
|
|
55
55
|
## The node
|
|
@@ -220,7 +220,7 @@ workflow itself. The hub finds the agent's role from that workflow, and:
|
|
|
220
220
|
|
|
221
221
|
- the workflow (or the agent) must be a helper on a role on the business map, or the hub answers
|
|
222
222
|
"Put this agent on a role first, so someone looks after what it adds." Put it on a role
|
|
223
|
-
(`
|
|
223
|
+
(`awesomate_business_map_change` `propose` `helper.attach`; the owner applies) before you build the tool.
|
|
224
224
|
- it writes only figure names it owns: never a figure a collector, Contacts or a person added.
|
|
225
225
|
- a figure far outside its own last 12 periods is not written. It waits, and the role's person gets a
|
|
226
226
|
task to accept or reject it; the KPI shows "New figure to check".
|
|
@@ -12,7 +12,7 @@ Four different things get called an agent. Pick before building:
|
|
|
12
12
|
| An assistant they set up once and talk to **in Slack, Telegram, Linear, Discord, Teams or n8n chat**, run **on a schedule**, or call from several workflows; it decides its own steps | **n8n Agent** (this file) | `awesomate_n8n_agents` |
|
|
13
13
|
| A fixed trigger → steps → result, with an LLM as one step | Workflow with an AI Agent node | The n8n MCP server (SKILL.md §3) + [ai-agents.md](ai-agents.md) |
|
|
14
14
|
| A website chat that answers ONLY from their content, with citations | Knowledge agent | awesomate-knowledge skill |
|
|
15
|
-
| One of Awesomate's ready-made chat agents | Template bundle | `awesomate_n8n_library` |
|
|
15
|
+
| One of Awesomate's ready-made chat agents | Template bundle | `awesomate_n8n_library` (list, install_plan), then `awesomate_n8n_library_change` (install) |
|
|
16
16
|
|
|
17
17
|
If the ask is a schedule with repeatable, enumerable steps, it is probably a
|
|
18
18
|
workflow. Say so plainly and ask before building the other thing. Never
|
|
@@ -69,5 +69,5 @@ means Tasks is not on the account: stop and say so. A `400` names what was wrong
|
|
|
69
69
|
## Test it
|
|
70
70
|
|
|
71
71
|
Run it once with the task for the user themselves (their own email in **For**) and ask them whether it
|
|
72
|
-
arrived in their chat. Then drop the test task (`
|
|
72
|
+
arrived in their chat. Then drop the test task (`awesomate_tasks_change` `drop`, with their yes) and set the
|
|
73
73
|
real person.
|
|
@@ -7,7 +7,7 @@ you have the failing execution's detail.
|
|
|
7
7
|
## Template installs or activation fail while reads work
|
|
8
8
|
|
|
9
9
|
If reads and `awesomate_n8n_context` succeed but every hub WRITE (a template
|
|
10
|
-
`install`, `activate` or `test` through `
|
|
10
|
+
`install`, `activate` or `test` through `awesomate_n8n_library_change`) fails, the
|
|
11
11
|
cause is almost always the account's stored n8n API key: not the hub, not
|
|
12
12
|
Cloudflare, not the template. Workflows you write through the n8n MCP server
|
|
13
13
|
use its own MCP key, not this one, so a refusal there is the n8n server's own
|
|
@@ -12,7 +12,7 @@ developers. Use plain words: "your procedures in 1Brain", "your systems",
|
|
|
12
12
|
never "MCP", "OAuth" or "JSON-RPC" unless they use them first.
|
|
13
13
|
|
|
14
14
|
**Routing rule:** what 1Brain holds comes from 1Brain itself, read live:
|
|
15
|
-
`awesomate_onebrain` in a chat, the 1Brain node in a workflow, or 1Brain's
|
|
15
|
+
`awesomate_onebrain` (reads) and `awesomate_onebrain_change` (links, drafts, onboarding) in a chat, the 1Brain node in a workflow, or 1Brain's
|
|
16
16
|
own connector for the rarer writes (2d). Awesomate never keeps a copy. Never
|
|
17
17
|
answer "what's our procedure for X" from memory or general knowledge.
|
|
18
18
|
|
|
@@ -75,16 +75,21 @@ Until they do, a connection reaches 1Brain's development server, not the
|
|
|
75
75
|
|
|
76
76
|
| They want | Use |
|
|
77
77
|
|---|---|
|
|
78
|
-
| Claude to find a procedure, read a page, list a role's systems, place 1Brain Departments on the map, or save a draft procedure | **`awesomate_onebrain`** (2a) |
|
|
78
|
+
| Claude to find a procedure, read a page, list a role's systems, place 1Brain Departments on the map, or save a draft procedure | **`awesomate_onebrain`** to read, **`awesomate_onebrain_change`** to link, place or draft (2a, 2b) |
|
|
79
79
|
| A workflow step that reads or writes 1Brain: a scheduled report, a form or email turned into an SOP draft, a sync | **The 1Brain node** with the hub-made "1Brain - <person>" credential (2c) |
|
|
80
80
|
| An AI agent in their automations that answers from their procedures | **The 1Brain node as an agent tool** (`CUSTOM.oneBrainTool`: Page Search, then Page Get), on the credential of the person the agent answers to (2c) |
|
|
81
|
-
| A 1Brain course for a role or for everyone joining, and starting someone's onboarding | **`
|
|
82
|
-
| Claude doing what `awesomate_onebrain`
|
|
81
|
+
| A 1Brain course for a role or for everyone joining, and starting someone's onboarding | **`awesomate_onebrain_change`** onboarding actions, read with `awesomate_onebrain` `onboarding` (5) |
|
|
82
|
+
| Claude doing what `awesomate_onebrain` and `awesomate_onebrain_change` do not: writing quizzes, acknowledgements, tailoring, publishing | **1Brain's own Claude connector** (2d) |
|
|
83
83
|
| An AI agent that needs every 1Brain action, with no setup in the node | **MCP Client Tool** with n8n's own MCP OAuth2 credential (2e) |
|
|
84
84
|
| Something done as the business rather than as a person | **Not possible yet.** Every 1Brain connection is a person |
|
|
85
85
|
|
|
86
86
|
### 2a. Claude looking things up: `awesomate_onebrain`
|
|
87
87
|
|
|
88
|
+
Reads are on `awesomate_onebrain`; every change (`map`, `link_role`,
|
|
89
|
+
`unlink_role`, `propose_draft` and the onboarding changes in 5) is on
|
|
90
|
+
`awesomate_onebrain_change`, which takes the same arguments. Sending a change
|
|
91
|
+
to the read tool is refused with a sentence naming the change tool.
|
|
92
|
+
|
|
88
93
|
It reads 1Brain live through the 1Brain login of the person this key belongs
|
|
89
94
|
to, so it sees exactly what they can see. Start with `status`: not connected
|
|
90
95
|
means sending them to Settings, Integrations, 1Brain, and nothing else.
|
|
@@ -147,7 +152,7 @@ instances so far: check before designing around it (that reference says how).
|
|
|
147
152
|
|
|
148
153
|
### 2d. 1Brain's own Claude connector
|
|
149
154
|
|
|
150
|
-
For what `awesomate_onebrain`
|
|
155
|
+
For what `awesomate_onebrain` and `awesomate_onebrain_change` do not do (writing quizzes and acknowledgements,
|
|
151
156
|
sharing a course, tailoring, publishing), 1Brain has its own connector for Claude at
|
|
152
157
|
`https://dev.1brain.io/mcp` (the development server, see above). The person
|
|
153
158
|
adds it themselves:
|
|
@@ -33,7 +33,7 @@ confirms it, and list what's missing rather than inventing it.
|
|
|
33
33
|
### Plan gate — check before promising any WordPress change
|
|
34
34
|
|
|
35
35
|
**Every PAT-authenticated hosting WRITE is Support Plus and above**:
|
|
36
|
-
`awesomate_run_wp_cli`, `
|
|
36
|
+
`awesomate_run_wp_cli`, `awesomate_wp_post_change`, `awesomate_wp_media_import`,
|
|
37
37
|
`awesomate_wp_settings`, plus `awesomate_site_create` and
|
|
38
38
|
`awesomate_domain_add`. On **Essentials** they all return **403
|
|
39
39
|
`upgrade_required`** — the server enforces it, so no retry or rewording gets
|
|
@@ -119,7 +119,7 @@ Then, on Support Plus and above:
|
|
|
119
119
|
Don't burn attempts discovering this at runtime.
|
|
120
120
|
- Confirm the sitemap is live (`/sitemap_index.xml` or `/sitemap.xml`) and
|
|
121
121
|
`robots.txt` references it — `curl` the live URLs.
|
|
122
|
-
- **Posts and pages** via `
|
|
122
|
+
- **Posts and pages** via `awesomate_wp_post_change` (drafts first — the user
|
|
123
123
|
approves publishing). Useful for the content pages that back up
|
|
124
124
|
`llms.txt` — a services overview, an FAQ, an about page — when the site is
|
|
125
125
|
thin on machine-readable substance.
|
|
@@ -149,7 +149,7 @@ On WordPress those three come from:
|
|
|
149
149
|
- **`llms.txt`** — no plugin makes one. Either the user places the file over
|
|
150
150
|
SSH or cPanel's File Manager (`scripts/ssh-connect.sh` in the hosting
|
|
151
151
|
skill, Support Plus+), or you publish the same content as a normal page
|
|
152
|
-
with `
|
|
152
|
+
with `awesomate_wp_post_change` and link it — a real page is crawlable and
|
|
153
153
|
editable, and gets most of the benefit.
|
|
154
154
|
|
|
155
155
|
**You can always generate the content.** Write the exact `llms.txt` body,
|
|
@@ -242,9 +242,9 @@ The gates above say whether a page CAN be found. `awesomate_ai_visibility` says
|
|
|
242
242
|
ChatGPT and Gemini apps actually name the business when its customers ask. Use it when the user
|
|
243
243
|
asks "does ChatGPT recommend us", "are we showing up in AI", or after a round of fixes.
|
|
244
244
|
|
|
245
|
-
- `action: "draft"` suggests up to 8 questions and the names to look for, from the business
|
|
245
|
+
- `awesomate_ai_visibility_change` `action: "draft"` suggests up to 8 questions and the names to look for, from the business
|
|
246
246
|
details, when none are set yet. It saves nothing: talk them through, then send the owner to the
|
|
247
|
-
hub to approve them. `action: "check_result"` {checkId} reads one check in full.
|
|
247
|
+
hub to approve them. `awesomate_ai_visibility` `action: "check_result"` {checkId} reads one check in full.
|
|
248
248
|
- `action: "status"` returns the score (0 to 100, with a likely range), the questions where neither
|
|
249
249
|
app named the business, who they named instead, and the sites the apps relied on.
|
|
250
250
|
- **Fix from that evidence, in this order:**
|
|
@@ -256,7 +256,7 @@ asks "does ChatGPT recommend us", "are we showing up in AI", or after a round of
|
|
|
256
256
|
questions from Google Maps.
|
|
257
257
|
- **Do not promise a lift from schema or llms.txt.** Studies found none. They are good hygiene,
|
|
258
258
|
not a visibility fix.
|
|
259
|
-
- `action: "check"` starts a new check (about five minutes). Owner checks are limited to 3 per site
|
|
259
|
+
- `awesomate_ai_visibility_change` `action: "check"` starts a new check (about five minutes). Owner checks are limited to 3 per site
|
|
260
260
|
per week, and sites the owner put on weekly checks are re-checked automatically: check again only after a
|
|
261
261
|
real change, never to watch the number within a day.
|
|
262
262
|
- **The owner approves the questions, in the hub, never you.** If `questions_approved` is false,
|
|
@@ -163,7 +163,7 @@ to the Awesomate team, who scope, build, test, and deliver it.
|
|
|
163
163
|
Awesomate pushes to the client** — knowledge quota warnings, "your quote
|
|
164
164
|
is ready", support-access events. Check it whenever the user asks about a
|
|
165
165
|
pending request, a quote, or "did anyone get back to me?". Relay unread
|
|
166
|
-
items in one line, then mark them read (`read` / `read_all`). It sends
|
|
166
|
+
items in one line, then mark them read (`awesomate_notifications_change`, `read` / `read_all`). It sends
|
|
167
167
|
nothing; it only reads their bell.
|
|
168
168
|
- **"How is my account doing?"** → `awesomate_dashboard_metrics` (executions
|
|
169
169
|
by status, error rate, time saved, 7-day trend, most recent failure) and
|