<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question external AI agent in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514035#M6458</link>
    <description>&lt;P&gt;I need some guidence with external&amp;nbsp;AI agent with Agent2Agent protocol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an agent and configured it as external in SN following this:&amp;nbsp;&lt;A href="https://www.servicenow.com/docs/r/zurich/intelligent-experiences/create-a2a-agent.html" target="_blank" rel="noopener"&gt;https://www.servicenow.com/docs/r/zurich/intelligent-experiences/create-a2a-agent.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see Service Now does call my agent, however when my agent replies it seems is not replying in the format or in the way SN is expecting to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I checked the logs I see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"status":"SUCCESS","payload":[{"sys_id":"ad2c324693b33ed042343447aba1035","description":"ExternalAgent","type":"agent","output":{"result":""},"metadata":{"agentDetails":{"name":....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is like SN is not seeing any output from it?&lt;/P&gt;&lt;P&gt;UI shows nothing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need to send back so SN does not see an empty output fromt he agent I am very sure the agent is replying&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fanny&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 23:15:30 GMT</pubDate>
    <dc:creator>FannyS</dc:creator>
    <dc:date>2026-03-24T23:15:30Z</dc:date>
    <item>
      <title>external AI agent</title>
      <link>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514035#M6458</link>
      <description>&lt;P&gt;I need some guidence with external&amp;nbsp;AI agent with Agent2Agent protocol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an agent and configured it as external in SN following this:&amp;nbsp;&lt;A href="https://www.servicenow.com/docs/r/zurich/intelligent-experiences/create-a2a-agent.html" target="_blank" rel="noopener"&gt;https://www.servicenow.com/docs/r/zurich/intelligent-experiences/create-a2a-agent.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see Service Now does call my agent, however when my agent replies it seems is not replying in the format or in the way SN is expecting to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I checked the logs I see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"status":"SUCCESS","payload":[{"sys_id":"ad2c324693b33ed042343447aba1035","description":"ExternalAgent","type":"agent","output":{"result":""},"metadata":{"agentDetails":{"name":....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is like SN is not seeing any output from it?&lt;/P&gt;&lt;P&gt;UI shows nothing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need to send back so SN does not see an empty output fromt he agent I am very sure the agent is replying&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fanny&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 23:15:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514035#M6458</guid>
      <dc:creator>FannyS</dc:creator>
      <dc:date>2026-03-24T23:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: external AI agent</title>
      <link>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514138#M6459</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1029588"&gt;@FannyS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Ensure Proper JSON Result output:&lt;/STRONG&gt; Your external agent API must return a valid JSON response. A simple string will not work.&lt;BR /&gt;Correct Structure: {"result":{"number":"CS0005845","state":"2","case":"CS0005834","impact":"2","active":"true"}}.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Validate Content Type:&lt;/STRONG&gt; Ensure your API explicitly sets the Content-Type header to &lt;STRONG&gt;application/json&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 05:35:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514138#M6459</guid>
      <dc:creator>Tanushree Maiti</dc:creator>
      <dc:date>2026-03-25T05:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: external AI agent</title>
      <link>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514613#M6466</link>
      <description>&lt;P&gt;My agent does return a json. Even If I harcode the reply to your json example I get the same. The issue is not the reply not being a json the issue is SN not reading that JSON.&amp;nbsp; Not sure what SN wants to read the reply from the agent&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 15:15:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/external-ai-agent/m-p/3514613#M6466</guid>
      <dc:creator>FannyS</dc:creator>
      <dc:date>2026-03-25T15:15:51Z</dc:date>
    </item>
  </channel>
</rss>

