View as Markdown
Aidbase icon

Aidbase ACTION

Add Question to FAQ

Add a new question to a FAQ in Airbase. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Aidbase account once, then configure and run Add Question to FAQ 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: "aidbase-add-question-to-faq",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    aidbase: { authProvisionId: "apn_xxxxxxx" },
    faqId: "FAQ ID",
    question: "Question",
  },
})

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.

Add Question to FAQ inputs
Property Type Description
faqId FAQ ID string
The ID of the FAQ to add a question to
Required Dynamic
question Question string
The question of the FAQ item
Required
answer Answer string
The answer of the FAQ item
Required
sourceUrl Source URL string
The source URL of the FAQ item
Optional
categories Categories string[]
A list of category names for the FAQ. If the category does not exist, it will be created.
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
aidbase-add-question-to-faq
Version
0.0.2
App
Aidbase
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes