View as Markdown
Akismet icon

Akismet ACTION

Submit Ham

Submit a comment that was incorrectly classified as spam. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Akismet account once, then configure and run Submit Ham 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: "akismet-submit-ham",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    akismet: { authProvisionId: "apn_xxxxxxx" },
    blog: "Blog URL",
    userIp: "User IP",
  },
})

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.

Submit Ham inputs
Property Type Description
blog Blog URL string
The URL of the blog where the comment was posted
Required
userIp User IP string
The IP address of the comment author
Required
permalink Permalink string
The full permanent URL of the entry the comment was submitted to
Required
userAgent User Agent string
The user agent string of the web browser used to submit the comment
Optional
commentAuthor Comment Author Name string
The name submitted with the comment
Optional
commentAuthorEmail Comment Author Email string
The email address submitted with the comment
Optional
commentAuthorUrl Comment Author URL string
The URL submitted with the comment
Optional
commentContent Comment Content string
The content of the comment itself
Optional
commentType Comment Type string
The type of comment
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
akismet-submit-ham
Version
0.0.2
App
Akismet
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes