AIAI Actions
Custom Prompt
Write your own AI instruction, with the conversation as context
Custom Prompt treats the text in the editor as an instruction for the AI. Unlike the other text actions, it also reads the recent chat and the contact's profile.
How to Use
- Type your instruction in the editor, for example
Draft a follow-up about the refund. - Click the sparkle icon, then Custom Prompt.
- The answer replaces your instruction. Review it and send.
The instruction can be up to 5,000 characters.
Example Prompts
| Prompt | Result |
|---|---|
| Draft a follow-up email about the refund | A follow-up based on the conversation |
| List all product names mentioned in this conversation | Facts pulled from the chat |
| Write an apology for the shipping delay | An apology that fits the case |
| Extract the customer's order number and address | Data pulled from the messages |
| Turn this into bullet points | The chat restructured as a list |
Context
- Recent messages. The last 7 messages of the chat, marked as customer or operator. System messages are left out.
- Contact profile. The profile fields of the contact in this chat.
- Channel. The answer is formatted for the channel of the chat.
Any {{variable}} placeholder you use stays as written.
Empty Chats
With a contact profile but no messages, the AI answers from the profile alone. With neither, you see No conversation history or user profile available for this chat.
Related
- AI Actions - all actions in the editor.
- AI Copilot tab - ask the copilot about the conversation.