Prompt suggestions added to Instance AI composer

Instance AI now shows prompt suggestions when the composer is empty. Users can hover to preview prompts and click to submit directly, with a Quick examples menu for common workflows.
When users open Instance AI with an empty composer, they now see clickable prompt suggestions that help them get started. Hovering over a suggestion previews the full prompt text in the input field without inserting it, letting users see exactly what will be sent. Clicking any suggestion submits it immediately.
A "Quick examples" menu expands to reveal more specific workflow prompts — monitoring competitors, automating email, routing support requests, answering questions with an agent, and tracking inventory. Each example follows the same hover-preview and click-to-submit pattern.
Suggestions disappear automatically when the user types, attaches files, sends a message, or when historical messages are loading. This keeps the UI clean and prevents accidental submissions in the wrong context.
These changes touch the n8n editor's AI feature — specifically the composer input, the AI store, and the empty state view. The store work also prevents a race condition where rapid clicks on a brand-new thread could create duplicate first messages before thread persistence completes.
View Original GitHub Description
Summary
- Add empty-state prompt suggestions to the Instance AI composer.
- Add a
Quick examplesmenu with predefined prompts. - Preview prompt copy on hover and submit selected prompts directly.
- Hide suggestions once the composer is no longer empty, while a send is pending, or while an existing thread is still hydrating.
- Extract the suggestions UI into a dedicated component and extend focused frontend tests.
Context
This PR includes a small amount of store and view work in addition to the new pills UI.
That extra work is there to support the new submission behavior safely:
- Prompt suggestions now submit directly, so rapid repeated clicks on a brand-new thread can otherwise create duplicate first messages before thread persistence finishes.
- Existing threads temporarily clear local messages before historical messages hydrate, which can otherwise make empty-state suggestions flash briefly in the wrong context.
How to test
- Open Instance AI on a new thread and verify the prompt suggestions render under the empty composer.
- Hover a prompt pill and verify the input shows preview text without inserting anything.
- Open
Quick examples, hover an example, and verify the input preview updates. - Click a prompt pill and verify it submits immediately.
- Click a quick example and verify it submits immediately.
- Repeatedly click a prompt on a brand-new thread and verify only one first message / run is created.
- Open an existing thread and verify empty-state suggestions do not appear while history is still loading.
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
- PR title and summary are descriptive. (conventions)
- Docs updated or follow-up ticket created.
- Tests included.
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported) - I have seen this code, I have run this code, and I take responsibility for this code.