You can use the |pprint filter to check the contents of a variable. So use {{resource|pprint}} to check what is available. This won't solve your current issue tho, just a tip.
If I am not mistaken, the name of the file should be available in the URL, so you could use a filter to strip out part of the URL and it should leave you with the name of the file, correct? You could try using the regex_replace or the replace filter.
If you need help with that, let me know!
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.
You can use the |pprint filter to check the contents of a variable. So use {{resource|pprint}} to check what is available. This won't solve your current issue tho, just a tip.
If I am not mistaken, the name of the file should be available in the URL, so you could use a filter to strip out part of the URL and it should leave you with the name of the file, correct? You could try using the regex_replace or the replace filter.
If you need help with that, let me know!
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.