Automate POST API with Send file option
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-07-21 04:59 PM
I have a requirement to send .xlsx file daily using POST API.
I have configured POST Method And I have selected "Send File" option.
While I use API in BP Action, it asks for Binary. I have imported file as binary and passed the variable. It is working fine
My problem is I want to Automate this .xlsx file import in Binary variable process since .xlsx file content will be different everyday . D
Please assist how to achieve this
------------------------------
Kirtish Trivedi
------------------------------
I have configured POST Method And I have selected "Send File" option.
While I use API in BP Action, it asks for Binary. I have imported file as binary and passed the variable. It is working fine
My problem is I want to Automate this .xlsx file import in Binary variable process since .xlsx file content will be different everyday . D
Please assist how to achieve this
------------------------------
Kirtish Trivedi
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-07-21 10:20 AM
Hi @Kirtish Trivedi.
Please use the inbuilt function "LoadBinaryFile" available in File-->LoadBinaryFile to load the file. The filepath can be passed from a variable. PFB the screenshot for the same:

Please let me know if you still faces any issue.
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
------------------------------
Please use the inbuilt function "LoadBinaryFile" available in File-->LoadBinaryFile to load the file. The filepath can be passed from a variable. PFB the screenshot for the same:
Please let me know if you still faces any issue.
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-07-21 04:30 AM
Hi @ritansh.jatwani,
Thank you for letting me know this Built in Function. It works.
------------------------------
Kirtish Trivedi
------------------------------
Thank you for letting me know this Built in Function. It works.
------------------------------
Kirtish Trivedi
------------------------------
