Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  3. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  4. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  5. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  6. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  7. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  8. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  9. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  10. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  11. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  12. unify-apps

    Microsoft Teams

    Unify Automations

    Connect your app with Microsoft Teams to enhance communication, automate workflows, and foster collaboration across your organization

  13. unify-apps

    Jira

    Unify Automations

    Use Jira to plan, track, and manage your agile and software development projects

  14. unify-apps

    Pre Processing

    Unify AI

    Optimize query processing through intelligent rephrasing, retrieval, and ranking to deliver accurate AI responses

  15. unify-apps

    Google Calendar

    Unify Integrations

    Integrate your app with Google Calendar to streamline scheduling, automate event management, and improve team coordination

#
Unify AI
Logo
Create an AI Agent
Logo
Prompts

Prompts

Logo

3 mins READ

What are Prompts?

Prompts are instructions or queries that help an AI agent determine its next course of action and formulate its responses. The clarity and precision of a prompt directly impact the accuracy and relevance of the agent's output, ensuring proper task completion.

For Example, a clear and precise prompt for a sales AI agent is:

When responding to product inquiries, follow this sequence,

  1. Start by acknowledging customer interest and their specific inquiry.

  2. Present product details including features, pricing, promotions, and competitor comparisons.

  3. Support with relevant success stories, ROI data, and clear purchase steps.

  4. Close with a call-to-action, demo option, and your contact details.

Best Practices to Write Prompts

  1. Use simple and straightforward language to ensure the AI agent easily understands the task. Avoid any vague wording that could cause confusion.

  2. Provide detailed prompts to help the Agent interpret and deliver exactly what you're asking for.

  3. Include relevant contextual information so the AI agent can understand the full scope of the task.

  4. Frame your prompts as clear commands or actions to guide the AI agent.

  5. Break down complex tasks into smaller, simpler steps for better task execution.

  6. Include an example of the type of response you expect to help the AI deliver more accurate results.

  7. Test and refine prompts regularly and make adjustments if needed to improve clarity and response quality.

By following these guidelines, you can ensure that your AI agents function properly.

Types of Prompts

  1. Response Generation The primary type of prompt that shapes how your AI agent responds to user inputs. These prompts help maintain consistency in tone, style, and content of responses.For example, we can add an instruction to format the responses in bullet points or in paragraphs in the response generation prompts.

  2. Rephraser Specialized prompts that help the AI agent rephrase or reformulate information while maintaining the original meaning. Useful for:

    • Simplifying complex information

    • Adjusting tone and formality

    • Ensuring brand voice consistency

  3. Topic Execution Prompts that guide the AI in handling specific topics or tasks, ensuring appropriate and accurate responses within defined domains.

Steps to Add Prompt

  1. In the AI Agents dashboard, select the "Prompts" option from the left-hand sidebar.

  2. On the Prompts page, click the “+ Add Prompt” button. This action will lead you to begin adding a new Prompt to your AI Agent.

    Image
    Image

  3. In the "Prompt Name" field, provide a descriptive name for your prompt that indicates its purpose.

    Image
    Image

  4. Click on the "Prompt Type" dropdown menu and choose the most suitable option for your prompt.

    Image
    Image

    You can choose from the following options:

    • Response Generation:  It is an instruction provided to the model to set the context, specify the desired behavior, or guide its responses. 

    • Rephraser: Select this when you need the AI agent to rephrase or restructure the input text, helping to improve clarity or change the tone.

    • Topic Execution: This type allows the AI agent to decide the next appropriate action or task based on the input, guiding it through multi-step processes.

    • Other: For any custom or non-standard prompt types that don't fit into the above categories, select this option to ensure flexibility in handling tasks.

  5. In the "Write your prompt" field, enter the specific instructions you want the AI agent to respond to. Be clear and concise to ensure accurate execution.

  6. On the right, you will find Variables such as Conversation History, User Query, Knowledge, and Available Tasks. Add these to your prompt as needed to make it more dynamic and context-aware.

    Image
    Image

  7. Before finalizing, you can test your prompt by clicking the "Test Prompt" button to ensure it works as intended.

  8. Once you’ve entered all details and tested your prompt, click “Save to finalize and add the prompt to your AI agent.