How to get the filename of the attached Discord file?

In the Discord messages I’m using to trigger have an attached file. How to get the filename of the attached file? However it appears to only list is the file ID.
image

Hello @Twixile,

First off, welcome to Pipedream! Happy to have you!

For this you’ll need to add a step that use Pipedream code step



Then change the sample code to use Discord API - Message API to get the message data, which will include the attachment information

I’ve also created a ticket to build a built-in action to help you on this. Kindly subscribe to the ticket to be noticed when it is landed!