How do I create a response to my buttons

  • Profile Image
    Tszerdahelyi
    Asked on September 11, 2025 at 7:39 PM

    How do I create a direct response if someone clicks on a button on the AI Agent?


  • Profile Image
    Adrian Besilla JotForm Support
    Replied on September 11, 2025 at 8:11 PM

    Hi Tszerdahelyi,

    Thanks for reaching out to us for help. If you want the AI Agent to give a direct response when someone clicks a button, you’ll need to define that button’s action in the AI Agent’s settings.

    1. On your My Workspace page, click on Type at the top and in the Dropdown menu that opens, uncheck the boxes next to all the assets except AI Agents, so only they’ll be shown on the page.

    Checked AI Agents option in the Type Dropdown menu of the Jotform My Workspace page Screenshot 10

    2. Hover your mouse over your AI Agent and click on Edit Agent on the right side of the page.

    Edit Agent button of an AI Agent in Jotform My Workspace page Screenshot 21

    3. Now, in Agent AI Builder, in the blue navigation bar at the top, click on Train.

    4. Then, under the Knowledge Base section, click on Questions & Answers.

    Questions & Answer option of the Knowledge Base section in the Train tab of the Jotform AI Agent Builder Screenshot 32

    5. Next, in the Questions & Answers section, enter a question that users might ask in the Question input box.

    6. Then, enter the answer to that question in the Answer input box below it and click on Save.

    Questions & Answer section of Knowledge Base in the Train tab of the Jotform AI Agent Builder Screenshot 43You might also want to check out our guides about How to Train Your AI AgentHow to Teach Your Agent by Chatting and How to Train Your Agent with Questions and Answers.

    Reach out again if you need any other help.

Your Reply