https://discord.gg/botpress logo
when you upload the file, event.payload will have ...
# 💻developers
l
when you upload the file, event.payload will have this file information event.payload will have all the things you are looking for so if you store the details in to a variable, for example workflow.filedetails = event.payload, then it has this structure { type: 'file', fileUrl: 'https://files.bpcontent.cloud/2025/02/20/01/20250220023135-2AD23T7T.pdf', title: 'SEO Progress Report.pdf' } workflow.filedetails.type will give the file type workflow.filedetails.fileUrl will give the file link workflow.filedetails.title will give you the name of the file