How do I upload a file from an external API and save it to Bubble storage and attach it to a Thing?

how to get a file from another service and store it in your Bubble app so it’s linked to some data object.

If its a file, you can use the operator :saved to S3 storage and if

its a URL, then use - :used as Image : saved to S3 storage.

you can directly use this in saving field like
file = [url]:used as Image :saved to S3 storage

I recommended you watch this video: “https://www.youtube.com/watch?v=nO8PSqeJaWk”. It’s a great resource to learn more about Application Programming Interface(API) and API connector in Bubble.io.