View as Markdown
HubSpot icon

HubSpot ACTION

List Blog Posts

Retrieves a list of blog posts. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's HubSpot account once, then configure and run List Blog Posts from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "hubspot-list-blog-posts",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hubspot: { authProvisionId: "apn_xxxxxxx" },
    createdAt: "Created At",
    createdAfter: "Created After",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Blog Posts inputs
Property Type Description
createdAt Created At string
Only return Blog Posts created at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
createdAfter Created After string
Only return Blog Posts created after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
createdBefore Created Before string
Only return Blog Posts created before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
updatedAt Updated At string
Only return Blog Posts updated at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
updatedAfter Updated After string
Only return Blog Posts updated after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
updatedBefore Updated Before string
Only return Blog Posts updated before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ
Optional
archived Archived boolean
Specifies whether to return deleted Blog Posts
Optional
properties Properties string
A comma-separated list of properties to return in the response
Optional
sort Sort string
Sort the results by the specified field
Optional
maxResults Max Results integer
The maximum number of results to return
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
hubspot-list-blog-posts
Version
0.0.18
App
HubSpot
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes