<?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>topic Re: Start playbook from API with own inputs in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/start-playbook-from-api-with-own-inputs/m-p/504402#M982</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/223484"&gt;@michal.grznar&lt;/a&gt;, I dont think this is possible. Playbook input can be passed as a part of the context only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would recommend this method. Configure the playbook like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-17 at 2.04.25 pm.png" style="width: 509px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/41855i7CBC5AC04D3162DA/image-dimensions/509x234/is-moderation-mode/true?v=v2" width="509" height="234" role="button" title="Screen Shot 2022-06-17 at 2.04.25 pm.png" alt="Screen Shot 2022-06-17 at 2.04.25 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can then send a postman request like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-17 at 2.55.10 pm.png" style="width: 819px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/41857iA1D4248CD319A05A/image-dimensions/819x225/is-moderation-mode/true?v=v2" width="819" height="225" role="button" title="Screen Shot 2022-06-17 at 2.55.10 pm.png" alt="Screen Shot 2022-06-17 at 2.55.10 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 05:03:04 GMT</pubDate>
    <dc:creator>jfernandes1</dc:creator>
    <dc:date>2022-06-17T05:03:04Z</dc:date>
    <item>
      <title>Start playbook from API with own inputs</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/start-playbook-from-api-with-own-inputs/m-p/504092#M978</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have problem and I would like please you for help.&lt;/P&gt;&lt;P&gt;My target is, from API (via postman) run some playbook with own data. For example, call playbook, where I added into playbook Inputs property "Left".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I tried set $Input.Left from my API, there are free version in one, - in data, in args, and in inputs. Nothing works,&amp;nbsp;$Input.Left is empty when playbook run.&lt;BR /&gt;Url: &lt;STRONG&gt;&lt;A href="https://ourtestserver.com:443/entry/" target="_blank"&gt;https://ourtestserver.com:443/entry/&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;And json body:&lt;BR /&gt;{&lt;BR /&gt;"investigationId":"2939",&lt;BR /&gt;"data":"!setPlaybook incidentId=2939 name=test-playbook {inputs={Left=5}}",&lt;BR /&gt;"args": {&lt;BR /&gt;"Left": {&lt;BR /&gt;"Simple": "1"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"inputs":{&lt;BR /&gt;"Left": "5"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know, that method /Entry has property ARGS, but how to use it in Playbook, is it possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Playbook has Input/Outputs, I can add new input in playbook designer and set new property "Left", and set default value. Then, in tasks I'm able work with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But exist same way, how to fill playbook inputs from API /entry please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your ideas.&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:15:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/start-playbook-from-api-with-own-inputs/m-p/504092#M978</guid>
      <dc:creator>michal.grznar</dc:creator>
      <dc:date>2022-06-16T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Start playbook from API with own inputs</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/start-playbook-from-api-with-own-inputs/m-p/504402#M982</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/223484"&gt;@michal.grznar&lt;/a&gt;, I dont think this is possible. Playbook input can be passed as a part of the context only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would recommend this method. Configure the playbook like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-17 at 2.04.25 pm.png" style="width: 509px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/41855i7CBC5AC04D3162DA/image-dimensions/509x234/is-moderation-mode/true?v=v2" width="509" height="234" role="button" title="Screen Shot 2022-06-17 at 2.04.25 pm.png" alt="Screen Shot 2022-06-17 at 2.04.25 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can then send a postman request like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-17 at 2.55.10 pm.png" style="width: 819px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/41857iA1D4248CD319A05A/image-dimensions/819x225/is-moderation-mode/true?v=v2" width="819" height="225" role="button" title="Screen Shot 2022-06-17 at 2.55.10 pm.png" alt="Screen Shot 2022-06-17 at 2.55.10 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 05:03:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/start-playbook-from-api-with-own-inputs/m-p/504402#M982</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2022-06-17T05:03:04Z</dc:date>
    </item>
  </channel>
</rss>

