Skip to main content

How to configure a personalized greeting in the prompt?

Description: Learn the correct way to configure an initial greeting in your AI prompts. Discover why you should not use the [Greeting] section and how to include this instruction within [Tasks] so your bot responds exactly as you want.

Unlike what might seem, there is no section called [Greeting] within the valid structure of prompts. If you want the bot to respond with a fixed greeting or a specific initial message, this must be configured correctly within the [Tasks] (Tasks) block.


❌ Common error: using [Greeting] as a section

Although it may seem intuitive to include an exclusive section called [Greeting], this is not a recognized section by Artificial Intelligence. Therefore, any content or instruction you place there will not be taken into account when executing the flow.


✅ Correct way: configure the greeting within [Tasks]

For the bot to greet correctly, you must include the instruction within the main tasks. You can use a clear instruction like the following:

👉 Example instruction: "When the user starts the conversation or sends a greeting, you must always respond with the following exact message: 'Hello! I am your virtual assistant. How can I help you today?'"

This type of structured message allows the AI to return a coherent and specific greeting each time it detects the start of the interaction.


📌 Additional recommendations

To ensure your greeting works perfectly, follow these best practices:

  • Be direct: Use clear and direct phrases so the AI understands exactly the context and what it should say.

  • 🧠 Strict location: Place this instruction only in the [Tasks] section, never outside of it.

  • 🔍 Run tests: Always simulate the flow to validate that the greeting activates correctly on first contact.

  • 🔁 Keep consistency: Review tone consistency if you use this same prompt replicated across different campaigns or flows.


📎 Correct prompt structure

As a general guide, remember that the valid and recommended structure for the AI to process your prompts without errors is based on these main sections:

  1. [Context] (Bot context and personality).

  2. [Tasks] (Tasks to perform, Your greeting goes here!).

  3. [Rules] (Rules and restrictions).


⚠️ Other frequent warnings

  • Don't invent sections: Avoid creating new tags that don't exist in the system, such as [Greeting], [FollowUp] or similar.

  • Don't duplicate: Avoid repeating the same greeting instruction in multiple sections (for example, putting it in Context and in Tasks at the same time).

  • Watch the order: If the prompt is extensive, remember that chronological order and text clarity greatly influence AI performance and accuracy.


Start your chats off on the right foot! 🚀

By correctly structuring your greeting within the [Tasks] section, you ensure that your virtual assistant provides a warm, accurate welcome from the first message. ✅

Did this answer your question?