floogos
    All templates
    New

    AI support agent that hands over to a person

    An AI agent with memory solves your customers queries and, when it cannot or the customer asks, emails your team with a summary of the case.

    Everything is created inactive in a new folder of your account. Nothing runs until you activate it, and you can undo it for 24 hours.

    Workflow diagram: AI support agent that hands over to a person

    What it does

    Handle support queries around the clock without losing control. Your website, app or chat sends each message to the webhook; the AI Agent answers remembering that customers previous conversation. If the agent detects it cannot solve it, the customer is angry or asks to talk to a person, it answers with a handover notice, and the workflow emails your team with the query and the agent summary.

    What you need: an OpenAI API key (or another AI Agent provider) and an SMTP account.

    How to use it: install the template, connect OpenAI and SMTP, adapt the agent instructions to your business and call the webhook with {"external_id":"ana@example.com","name":"Ana","message":"My order has not arrived"}.

    What the webhook answers: the agent reply text (HTTP 200) or, if handed over to a person, a JSON with escalated: true and the message for the customer.

    How to set it up

    1. 1

      Connect the openai credential

      This template uses openai in: Agente de soporte. Create or pick the credential and assign it in those nodes.

    2. 2

      Connect the smtp credential

      This template uses smtp in: Avisar al equipo. Create or pick the credential and assign it in those nodes.

    3. 3

      Copy the webhook URL (Recibir consulta)

      A new URL is generated on install. Paste it into the external system that must call this workflow.

    4. 4

      Adapt the agent to your business

      In the Agente de soporte node connect OpenAI and complete the instructions with what you sell, your lead times and policies. Keep the rule of answering ESCALAR: when a person must step in: the workflow relies on it.

    5. 5

      Set the team email

      In the Avisar al equipo node connect your SMTP and replace soporte@tuempresa.com with the address that handles escalated cases.

    6. 6

      Test both paths

      Send a normal query ("What are your opening hours?") and check the agent answers. Then send "I want to talk to a person, this is unacceptable": the email should reach your team.

    7. 7

      Activate the workflow

      Workflows are installed inactive. Once everything is set, activate it.

    Try it in under 5 minutes

    Create the template in your account, connect your credentials and activate it when you are ready.

    Use this template