Is it possible to have a custom contact image property as part of a HubSpot form, and upon submission, a workflow sends an automated “confirmation” marketing email to the submitter that displays the image held in their contact record image property?
If I set the image property as a personalized token in the email, it just displays the ID # of the file. Any way to get it to display the image dynamically?
I know that a single line text field can be used if it holds the URL of an image, but that would take manually adding the image to file manager, taking the URL and setting onto a property for the record. I’m needing to display the image in an confirmation email that is sent right after submission.
If you had Ops Hub Pro or Ent, I think you could use a custom code action to get the full URL of the image and then paste that back into the single-line text property and proceed as you mentioned. The other challenge is that the image would have to be public, but by default, those images would not be considered public images. You can also reference here, noting some of the other requirements (based on how this solution was done) and some code solutions, but they were publicly displaying it on a page, not an email.
This might also work with Zapier, but I’m not 100% on the ability to extract the URL and also make it public..
@Josh I appreciate your feedback. I have now been able to get the image to display within the email editor using an HTML module block, but it will still not render within recipient’s inbox. I would suspect it to be due to file access being private, however I have the custom property set to be “Public”.
I do have operations hub, and am able to place the image URL into a single line text field. But pulling that in for the IMG SRC, also does not work. I’m spending so much time trying to get the image to show for the email recipient. There should a method for this but I am struggling to figure it out. I’ve also been trying to configure API call to generate a temporary access URL for private file (Accounts Dashboard | HubSpot) but not having any luck getting it to work. I’m not a developer and limited on creating needed code.