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

  1. Type your instruction in the editor, for example Draft a follow-up about the refund.
  2. Click the sparkle icon, then Custom Prompt.
  3. The answer replaces your instruction. Review it and send.

The instruction can be up to 5,000 characters.

Example Prompts

PromptResult
Draft a follow-up email about the refundA follow-up based on the conversation
List all product names mentioned in this conversationFacts pulled from the chat
Write an apology for the shipping delayAn apology that fits the case
Extract the customer's order number and addressData pulled from the messages
Turn this into bullet pointsThe 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.

Was this page helpful?

On this page