Dynamic Images in Letters

Hi all, this is my first post in this community!

I’m trying to figure out a way to create a letter template and have the image in the template change depending on the company of the contact.

Or change the template that gets used depending on the company of the contact.

Can anyone point me in the right direction?



Hi Pat, as the Letter feature in Infusionsoft is pretty simplistic and cut and dry, there is not an out-of-the box method to achieve this. I am not personally aware of an integration that could assist with this, but one of our other community members might be aware of an integrated solution for something of this nature.

Only way I could think of to make this happen would be to have the img source point to an external API script (ie <img src="http://example.com/script.php?cid=123">) rather than to an actual image. The script would then do a lookup based on the contact ID that was passed and then based on the Company field, it would return an image. You’d have to use the CodeBuilder so you could add in the custom IMG tag, and use a merge field for the contact ID. But I believe it would be do-able.