Attachement link in email : empty

Hello,
I can’t get the url of the attchements : it’s empty…

Here’s my code for the URL: {{ event.[Attachment].[0].url }

However, the title is displayed correctly: {{ event.[Attachment].[0].title }}

and here is the payload :
‘Attachment": [
{
‘url": “https://nocodb.com/dummy.png”,
‘title": “image.png”,
‘mimetype": “image/png”,
‘size": 0
}

Is it possible ?

Thanks

This should work for a field name set to “Attachment”.
Note that “signedUrl” has limited validity (3 hours AFAIK) & will expire. @mertmit to confirm

{{ event.data.rows.[0].Attachment.[0].signedUrl }}

Validity for signed URL will be 2 hours

1 Like

Thanks but it’s not working :

  • signedUrlou url is allways empty

Is it because i havent a storage ?

Can you paste the complete body that you have used as is?
Also please specify version of NocoDB that you are using & base information. FAQs | NocoDB

cc @pranavxc

YES thanks :
my code in MANUAL TRIGGER BTN:

{{#each event.Attachment}}
  <p>Debug: title={{this.title}}, url={{this.url}}, signedUrl={{this.signedUrl}}</p>
{{/each}}

The RESULT :
Debug: title=test.pdf, url=, signedUrl=

version of NocoDB :

Node: **v22.14.0**
Arch: **x64**
Platform: **linux**
Docker: **true**
RootDB: **pg**
PackageVersion: **0.262.5**