Files for flows (both core and non-core)August 16, 2019 at 10:16pm
What's the recommended way to upload and attach a file to a flow (both core and non-core)? For the core flow, I'm trying to attach a image for each category that I can use in a thumbnail. For non-core (custom) flow, I'm trying to do a blog post with a single image. Except for the product catalog, I can't seem to find any instructions on how to upload and add a file as a field for flows.
August 28, 2019 at 12:53pm
Hey there, I don't believe we have file flow field types, but we do have relationship flow field types. We also have a files service in the API, so what you can do is:
- Upload a file to the API (https://docs.moltin.com/api/advanced/files)
- Create a flow relationship between the category and the file (this guide will help: https://docs.moltin.com/guides/guides/custom-data/create-a-wishlist)
Let us know if you have any issues :)