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

    JobNimbus

    Unify Integrations

    Integrate your application with JobNimbus to manage leads, track jobs, and streamline your workflow processes efficiently

  3. unify-apps

    IMAP

    Unify Integrations

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

  4. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  5. unify-apps

    QuickBooks

    Unify Integrations

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

  6. unify-apps

    FTP/FTPS

    Unify Integrations

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

  7. unify-apps

    Filters

    Unify Applications

    Enable users to refine, search, and sort data effortlessly across dashboards and datasets

  8. unify-apps

    Insided

    Unify Integrations

    Integrate your app with Insided to enhance customer engagement, streamline community management, and drive self-service support.

  9. unify-apps

    Facebook Ads

    Unify Integrations

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

  10. unify-apps

    Gainsight

    Unify Integrations

    Integrate your app with Gainsight to enhance customer success, automate engagement workflows, and drive retention

  11. unify-apps

    Livestorm

    Unify Integrations

    Integrate your app with Livestorm to streamline webinar hosting, automate event management, and enhance audience engagement.

  12. unify-apps

    Snowflake

    Unify Automations

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

  13. unify-apps

    Cognito Forms

    Unify Integrations

    Integrate your app with Cognito Forms to create custom forms, automate data collection, and streamline workflows

  14. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  15. unify-apps

    BambooHR

    Unify Automations

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

  16. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  17. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  18. unify-apps

    Microsoft Teams

    Unify Automations

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

#
Unify AI
Logo
Guardrails
Logo
Blocked Messaging

Blocked Messaging

Logo

2 mins READ

Blocked Messaging in AI Agents allows you to define custom messages when user input queries or AI responses are blocked by guardrails. This ensures smooth communication, even when certain content is restricted, by providing clear and predefined explanations to the user.

Key Parameters:

  • Blocked Messaging for Prompts Configured messages are displayed when a user's input is blocked by the guardrails, informing them why their request can't be processed.

  • Blocked Messaging for Responses Configured messages are displayed when an agent’s response is blocked due to violating guardrail rules, ensuring the user is aware of the limitation.

To illustrate, let's look at the example given below.

Reference: Added a denied topic named "Stocks and Investment Advice"
User Input: "Which stocks should I buy?"
Blocked Message: "I am not allowed to respond to this request. Please ask another question."

Image
Image
Image
Image

How to Configure Blocked Messaging in your AI Agent?

  1. From the Guardrails section in your AI Agents Dashboard, click on “Blocked Messaging”.

  2. In the Blocked Messaging for Prompts field, enter a custom message that will be displayed to users when their input is blocked.

    For example: “I’m sorry, but I can’t help with this particular request. Could you rephrase it?”

  3. Similarly, under Blocked Messaging for Responses, write a message that the AI agent will show when its response is restricted.

    For example: “I’m unable to respond to this request. Could you try asking another question?”

    Image
    Image
  4. Once your custom messages are defined, save the settings to ensure the AI agent uses them whenever inputs or responses are blocked.

By configuring Blocked Messaging, AI Agents can handle restricted interactions professionally, maintaining a seamless user experience even when certain content is filtered out by the system.

These guardrail components in AI Agent by UnifyApps help maintain safe, ethical, and compliant AI operations, ensuring that the AI Agents deliver controlled, accurate, and brand-aligned interactions.