View as Markdown
Typeflo icon

Typeflo ACTION

Create Post

Creates and publish posts in yout blog. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Typeflo account once, then configure and run Create Post 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: "typeflo-create-post",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    typeflo: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    content: "Content",
  },
})

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.

Create Post inputs
Property Type Description
title Title string
Post title
Required
content Content string
Main body content of the post
Required
slug Slug string
URL-friendly title for the post
Optional
excerpt Excerpt string
Short summary of the post
Optional
metatitle Meta Title string
SEO title of the post
Optional
metadescription Meta Description string
SEO description of the post
Optional
tocStatus TOC Status boolean
Enable or disable table of contents
Optional
scheduled Scheduled string
Scheduled publish date and time, i.e.: 28/08/2025 09:35 AM
Optional
publishDate Publish Date string
Date when the post is published, i.e.: 01/01/2025
Optional
isDraft Is Draft boolean
Whether the post is saved as draft
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
typeflo-create-post
Version
0.0.2
App
Typeflo
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes