View as Markdown
Gorgias icon

Gorgias ACTION

Send Public Reply

Post a customer-facing reply to a ticket on behalf of an agent. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Gorgias account once, then configure and run Send Public Reply 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: "gorgias_oauth-send-public-reply",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    gorgias_oauth: { authProvisionId: "apn_xxxxxxx" },
    ticketId: 10,
    fromUser: 10,
  },
})

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.

Send Public Reply inputs
Property Type Description
ticketId Ticket ID integer
The ID of a ticket
Required Dynamic
fromUser From Agent integer
The agent sending the reply
Required Dynamic
toCustomer To Customer integer
The customer receiving the reply
Required Dynamic
message Message string
Body of the reply. Accepts HTML
Required
channel Channel string
The channel used to send the message. Defaults to email
Required
via Via string
How the message has been received, or sent from Gorgias. Defaults to help-center
Required
subject Subject string
The subject of the ticket
Optional
fromAddress From Address (override) string
If set, used as source.from.address instead of looking up the From Agent's email. Useful for shared inboxes (e.g. support@example.com).
Optional
fromName From Name (override) string
Optional display name for source.from.
Optional
toAddress To Address (override) string
If set, used as source.to[0].address instead of looking up the To Customer's email.
Optional
toName To Name (override) string
Optional display name for source.to[0].
Optional
attachmentUrl Attachment URL string
URL of the file to attach
Optional
attachmentName Attachment File Name string
File name for the attachment. Required when Attachment URL is set
Optional
sentDatetime Sent Datetime string
When the message was sent. If omitted, Gorgias sets it automatically. E.g. 2025-01-27T19:38:52.028Z
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
gorgias_oauth-send-public-reply
Version
0.0.4
App
Gorgias
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes