- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
uploadFilesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the uploadFilesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow uploads one or more files using the installed File Module Provider. The workflow is used by the Upload Files Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to upload files within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
UploadFilesWorkflowInput
UploadFilesWorkflowInputThe data to upload files.
UploadFilesWorkflowInput
UploadFilesWorkflowInputfiles
object[]The files to upload.
files
object[]Output#
Was this page helpful?