Adding a dynamic signature in a mail

Hello all

We added a dynamic signature showing data and a picture depending on the deal owner.

The picture of the deal owner is added as a file in hubspot and in the designer manager we added a link with the necessary parameters towards this picture.

I receive the emails perfectly in my inbox but the picture does not show.

Doing some investigations, I noticed a kind of hash in the URL which off course I cannot send along in the module.

Has this recently been changed ?

Is there a workaround ?

Kind regards

Jeffrey

Hi @JVanpachtenbe,

Thanks for reaching out to the Community!

Please review that the images you uploaded to the files section of HubSpot have their FILE URL VISIBILITY set to public. Additionally, if you can share the code, I can bring in some experts to the conversation to help us review what might be preventing the image from displaying. Any screenshots of what you are seeing and what it should look like are greatly appreciated.

Best,

Diana

Hello

The URL is already set to public and I can access it using the URL.

The code is:

xxx/hubfs/mail_images/sales_persons/{{deal.hubspot_owner_id.fullname}}.png

or

xxx/hubfs/mail_images/sales_persons/{{firstName}}%20{{lastName}}.png" alt=“{{firstName}}{{lastName }}”

Screenshot is only showing a picture logo missing the picture …

Hi @JVanpachtenbe,

Thanks for the details and the code.

Let’s consult with some of our experts to see if they have any suggestions for you.

Hi @Jnix284, @JuanGomez0818, @Lucila-Andimol - Do you have any advice for @JVanpachtenbe?

Thanks!

Diana

@JVanpachtenbe how are you passing the deal owner information along in the email? Is there a parameter in the URL for the email that would indicate who the deal owner is that this hubL can then reference?

Essentially, once sent, how does the email know who the deal owner is for the recipient - have you coded a solution for this?

I’ve not seen this done for email, usually a landing page/web page, and there has to be a parameter in the URL and custom code on the back end to access the CRM data (which also has limitations if it’s private vs public).

Curious why you aren’t using the owner.signature personalization token instead?

Is this a marketing email or 1:1 email?

Hello

The parameter is in my example:

/{{deal.hubspot_owner_id.fullname}}.png

It is a workflow and the deal owner is not always the same. To avoid creating a mail layout per sales consultant we want to have 1 layout with a dynamic signature depending on the deal owner.

@JVanpachtenbe yes, I understand the parameter you’re using, but how are you passing that information from the CRM to the email?

If it’s not a personalization token, the information isn’t available via the email natively and you’d need to pass the information through the email.

When you use a Template - it automatically includes the sender’s signature:

Are you trying to use a different signature than the one configured for each of the users/contact owners?

Hello

It is a mail sent by a deal enrollment trigger and there is a custom module added to that email template.

So we are not using a signature template.

The from address is a personilzation token, e.g. deal.hubspot_owner_id.email

@JVanpachtenbe thank you for clarifying where this email is configured, this is very helpful and clears up a lot of questions about what you’re trying to achieve!

I still don’t think what you want to do is possible, looping in a few others to see if they’ve done something similar and can help further @Shadab_Khan @jolle @Josh @Anton

Additional info. The error when I use inspect element:

{"status":"error","message":"File Not Found","correlationId":"5a16fe36-82df-44bf-bd0e-1a7cfb4d6159"}

Hi @JVanpachtenbe,

When you send the email and it shows the missing image icon, what is the file path or the image that it attempted to access? Is it close to the version you mentioned (xxx/hubfs/mail_images/sales_persons/{{firstName}}%20{{lastName}}.png), but with an additional or missing character?