ok got it , if your playbook is artifact activated. you can access only the value of that artifact using artifact.value.
Original Message:
Sent: Fri March 21, 2025 03:20 AM
From: Paulius Roslekas
Subject: Exchange Online Query Messages Playbook automatic activation on Artifact
Hi,
Yes, but i would like to read with Function input script two different Artifacts (Email Sender and Email Recipient), for instance, if i would use below example, script would take same artifact value for both "email_address"(Email Recipient) and "email_address_sender" (Email Sender).
inputs.exo_email_address_sender = artifact.value
inputs.exo_email_address = artifact.value
Thanks
------------------------------
Paulius Roslekas
------------------------------
Original Message:
Sent: Fri March 21, 2025 02:16 AM
From: Mohamad islam Hamadieh
Subject: Exchange Online Query Messages Playbook automatic activation on Artifact
Hi Paulius ,
The syntax is correct here :
inputs.exo_email_address_sender = artifact.value
you just have to make sure that the playbook you create is of type (Artifact activated)
------------------------------
Mohamad islam Hamadieh
I post SOAR content and tips on linkedIn , follow me :)
https://linkedin.com/in/mohamadislam
Original Message:
Sent: Thu March 20, 2025 10:21 AM
From: Paulius Roslekas
Subject: Exchange Online Query Messages Playbook automatic activation on Artifact
hello,
I apologize for the delayed response :/. Thank You for information.
In example below trying to put "email_recipient" artifact value in Function input script, "email_recipient" API seems correct, but no luck :/
"inputs.exo_email_address_sender" and "inputs.exo_email_address " artifact values are not the same.
EXAMPLE:
inputs.exo_email_address_sender = artifact.value
inputs.exo_email_address = artifact.value['email_recipient']
How to write it in correct syntax ?
Thanks
------------------------------
Paulius Roslekas
Original Message:
Sent: Fri February 07, 2025 12:42 AM
From: Mohamad islam Hamadieh
Subject: Exchange Online Query Messages Playbook automatic activation on Artifact
Hi Paulius,
I couldn't decide if your question means what data I should input in those fields, or how to fill the data using playbook script instead of filling the web for manually, so I will answer both :)
- What data should I input in those fields ?
- You can check the app documentation , the used function (Function - Exchange Online: Query Messages) part mention the inputs here .
- how to fill the data using playbook script instead of filling the web form manually ?
------------------------------
mohamad islam hamadieh