Hi guys,
I'm trying to do something like HubSpot does : adding automatically the logo of a company based on its website.

2 API are doing it for free (Logo.dev or BrandFetch )
Goal: For the Account entity when I add or update its website field, I want EspoCRM to automatically fetch the company logo and show it in list/detail views.
Constraint: I’d like to achieve this without custom PHP (ideally pure Workflow / Formula), to keep upgrades smooth.
For exemple, Logo.dev gives a simple URL to fetch the logo :
What I tried so far :
Formula field to build the URL (works)
The URL is stored correctly but of crouse Espo just displays the text, not the image.
Questions to the gurus here :
Thanks in advance if you’ve solved something similar, or to share a snippet. I'll be happy to report back. 🙏
I'm trying to do something like HubSpot does : adding automatically the logo of a company based on its website.
2 API are doing it for free (Logo.dev or BrandFetch )
Goal: For the Account entity when I add or update its website field, I want EspoCRM to automatically fetch the company logo and show it in list/detail views.
Constraint: I’d like to achieve this without custom PHP (ideally pure Workflow / Formula), to keep upgrades smooth.
For exemple, Logo.dev gives a simple URL to fetch the logo :
Code:
https://img.logo.dev/espocrm.com?token=YOURFREEPUBLICKEY
Formula field to build the URL (works)
Code:
cLogovarchar = string\concatenate('https://img.logo.dev/', website, '?token=PUBLICKEY&size=200&format=png');
Questions to the gurus here :
- How to make that happen ?
- Have you ever tried automated logo fetching in Espo ?
- I'm pretty sure we have to use the workflow (advanced pack) and Sent HTTP Request GET and workflow\lastHttpResponseBody (I'm still confused how to code that)
Thanks in advance if you’ve solved something similar, or to share a snippet. I'll be happy to report back. 🙏