How to configure file location in Slack API when integrating with Microsoft OneDrive API on Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

first time user to pipedream and slack… trying to integrate the workflow Upload File with Slack API on New File Created (Instant) from Microsoft OneDrive API… when configuring the slack portion it is asking for file location… since the file is coming from one drive i pasted in the share url but it errored

Try downloading the file to the /tmp directory and then using that path to upload it to Slack

tmp directory in slack or pipedreams

either it would defeat the purpose of the workflow… new file added to onedrive location event is triggered to post that file to channel

Pipedream’s /tmp folder

Then in your Slack configuration when it asks for the file location, you point it to the saved file in the /tmp

how do i locate the pipedreams tmp folder

Here’s our docs on the /tmp folder

And the same but for Python