ZarccoZ

email trigger

Hi nocoders, currently I'm having an issue with the email trigger; I've been trying to get the attachment but with no success. I already get the json using:

${(x)body.fields[attachment-info]}

Do you have any idea how to access to: attachment1 > filename ?

Thankyou in advance!
image.png
image.png
Solution
Hi @Zarcco, extract the data received from the response of the which you require to an empty script node and then edit the node with the AI to with prompt extract the require data from this json, give the above json as example in the prompt as well.


For using with the dot notation, you'll be require to add
email
variable instead from body, as the body you are referencing it from the request not from the Email Trigger request body. Use this expression. Please note you might encounter while adding this expression in editor, we'll are tracking and will add a fix soon.
image.png
Was this page helpful?