HubSpot – List Blog Posts – Built.io Flow Docs

HubSpot provides an inbound marketing and sales platform for enterprises. This activity helps you fetch the list of all the blog posts or the ones that match your search criteria. To achieve this, add this activity to your canvas, and configure it. Select the appropriate access token for HubSpot. If you haven’t created any access token, select ‘Add new’ to create one. 

All the fields in this activity are optional. If you leave all the fields blank, it will return the list of all the blog posts available in your HubSpot account. To retrieve a specific number of posts, enter a number in the ‘Limit’ field (defaults to 20). The ‘Offset’ field allows you start retrieving posts from a specific start point. If you wish to include archived blog posts in response, set ‘Archived=true’. You can also fetch posts created by a specific author by entering the author’s ID in the ‘Blog Author’s ID’ field. Similarly, to fetch posts of a campaign, enter its GUID in the ‘Campaign Group ID’ field. Posts can be further retrieved based on their created/deleted/updated time as well as their slugs. You can also get posts depending on the current state (Draft, Published, Scheduled) they are in. Once you enter these details, click ‘Done’ and run the flow. This will return the list of all the blog posts that match your search criteria. 

list-blog-posts