View as Markdown
Google Merchant Center icon

Google Merchant Center ACTION

Create Product

Creates a product in your Google Merchant Center account. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Merchant Center account once, then configure and run Create Product 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: "google_merchant_center-create-product",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_merchant_center: { authProvisionId: "apn_xxxxxxx" },
    offerId: "Offer ID",
    title: "Title",
  },
})

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 Product inputs
Property Type Description
offerId Offer ID string
A unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details.
Required
title Title string
Your product's name. Max 150 characters
Optional
description Description string
Your product's description. Max 5000 characters
Optional
contentLanguage Content Language string
Required
targetCountry Target Country string
The CLDR territory code for the item's country of sale.
Required
channel Channel string
The item's channel (online or local).
Required
additionalOptions Additional Options object
Additional options for the product. If a value is not a string, it will be parsed as JSON. See the documentation here
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
google_merchant_center-create-product
Version
0.0.2
App
Google Merchant Center
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes