APIs & Integrations

gtamhan
Member

Populate custom module with data from external api for use in email template

SOLVE

I would like to create a custom module for use in an email template that will fetch a list of blogs posts from my personal site and display the blog post's image, short summary, and link in the email. Is it possible to use Hubspot Serverless Functions to fetch data for use in an email template? If so, how would I access the fetched data within my custom module?

0 Upvotes
1 Accepted solution
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Populate custom module with data from external api for use in email template

SOLVE

@gtamhan Pretty sure serverless functions are only available on webpage templates. Hubspot has an RSS module that you could build off of though.

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

dennisedson
Community Manager
Community Manager

Populate custom module with data from external api for use in email template

SOLVE

Hi @gtamhan 

Is your personal site on HubSpot?  You shouldnt need serveless functions for that.

@amwilie , any thoughts?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes
gtamhan
Member

Populate custom module with data from external api for use in email template

SOLVE

Personal site is on WordPress.

0 Upvotes
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Populate custom module with data from external api for use in email template

SOLVE

@gtamhan Pretty sure serverless functions are only available on webpage templates. Hubspot has an RSS module that you could build off of though.

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!