View as Markdown
Sitecreator.io icon

Sitecreator.io ACTION

Create Site

Create a new website. See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Sitecreator.io account once, then configure and run Create Site 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: "sitecreator_io-create-site",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    sitecreator_io: { authProvisionId: "apn_xxxxxxx" },
    siteUrl: "Site Domain",
    siteName: "Name",
  },
})

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 Site inputs
Property Type Description
siteUrl Site Domain string
Domain name of the new site. This is what will appear between "https://" and ".sitecreator.io". Example: https://<your-site-domain>.sitecreator.io
Required
siteName Name string
Name of the new site
Required
language Language string
Language code for the new site
Optional Dynamic
siteData Site Data string
Site data for the new site
Optional
accent Accent string
Site Style accent color
Optional
gradientBg Grandient Background string
Site Style gradient background color
Optional
gradientImage Grandient Image string
Site Style gradient image
Optional
lightBg Light Background string
Site Style light background color
Optional
name Name string
Site Style name
Optional
primaryBg Primary Background string
Site Style primary background color
Optional
primaryText Primary Text string
Site Style primary text color
Optional
secondaryBg Secondary Background string
Site Style secondary background color
Optional
secondaryText Sedondary Text string
Site Style secondary text color
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
sitecreator_io-create-site
Version
0.0.2
App
Sitecreator.io
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes