Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Attachment API GET Uploading File to Amazon S3 Bucket

skiiclub
Mega Contributor

Hi all, 

I'm currently using the ServiceNow Attachment API /now/attachment/{sys_id}/file to download a specific attachment from a record. As you can see below I'm able to get the binary string back as a result.

Screen Shot 2022-10-31 at 2.58.14 PM.png
My question is, what can I do with this body? Is there any way to take this response and upload the actual file to an s3 bucket?

Here are the headers I receive as a response. 

Screen Shot 2022-10-31 at 3.02.35 PM.png



Any help would be appreciated here, I've been stuck on this for awhile. 

1 REPLY 1

rahulpandey
Kilo Sage
Catalog Items are just a way to define inputs and launch flow. There are many reasons why the catalyst may be email. STEP BY STEP - Create the Catalog Flow as if you assumed form entry. - Create a new Flow Action to parse an email body for name:value pairs (OR download from share) - Create a ...