Help Scout
Create conversations, list conversations, and add replies in Help Scout.
On this page
Connect
Auth type: API key (secret_text). Paste the API key (or token) from the provider's settings into the connect dialog. It is encrypted at rest and only decrypted on the server when an action runs.
- In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
- For every project in a workspace: Workspace settings, Integrations.
- Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.
Call it from a workflow
Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.
// .workflow.js (native ctx)
export async function run(ctx) {
const res = await ctx.integrations.invoke("help-scout", "create_conversation", {
"mailboxId": "<mailboxId>",
"subject": "<subject>",
"customerEmail": "<customer email>",
"threadType": "chat",
"status": "active",
"body": "<body>"
});
if (!res.success) throw new Error(res.error);
ctx.log.info("Help Scout answered", { output: res.output });
}// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";
export default defineWorkflow({
id: "help-scout-create-conversation",
name: "Help Scout: Create Conversation",
description: "Calls Help Scout when a row is created.",
trigger: { type: "entity_event", entity: "tickets", event: "created" },
async run(ctx, event) {
const res = await ctx.integrations.call("help-scout", {
"action": "create_conversation",
"mailboxId": "<mailboxId>",
"subject": "<subject>",
"customerEmail": "<customer email>",
"threadType": "chat",
"status": "active",
"body": "<body>"
}) as { success: boolean; error?: string };
if (!res.success) throw new Error(res.error);
},
});curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/help-scout/create_conversation" \
-H "Authorization: Bearer $APP_KEY" \
-H "content-type: application/json" \
-d '{"props":{"mailboxId":"<mailboxId>","subject":"<subject>","customerEmail":"<customer email>","threadType":"chat","status":"active","body":"<body>"}}'Actions
create_conversationin catalog
Create Conversation. Start a new conversation.
| Input | Type | Description |
|---|---|---|
mailboxIdrequired | id (picked from your account) | Mailbox |
subjectrequired | text | Subject |
customerEmailrequired | text | Customer Email |
fromUseroptional | id (picked from your account) | From User |
threadTyperequired | one of "chat" | "phone" | "reply" | "customer" | Thread Type |
statusrequired | one of "active" | "closed" | "pending" | Conversation Status |
bodyrequired | long text | Body |
assignTooptional | id (picked from your account) | Assigned User |
tagsoptional | array | Tags |
ccoptional | array | CC |
bccoptional | array | BCC |
importedoptional | boolean | Imported |
find_conversationin catalog
Find Conversation. Finds an existing conversation using provided filter.
| Input | Type | Description |
|---|---|---|
subjectoptional | text | Subject |
mailboxIdoptional | id (picked from your account) | Mailbox |
statusoptional | one of "active" | "open" | "closed" | "pending" | "spam" | "all" | Status |
assignTooptional | id (picked from your account) | Assigned User |
emailoptional | text | |
tagsoptional | array | Tags |
queryoptional | text | Custom Query |
send_replyin catalog
Send Reply. Sends a reply in an existing conversation.
| Input | Type | Description |
|---|---|---|
conversationIdoptional | id (picked from your account) | Conversation |
textrequired | long text | Reply Text |
customerEmailrequired | text | Customer Email |
draftoptional | boolean | Draft |
statusoptional | one of "active" | "pending" | "closed" | "spam" | Conversation Status |
userIdoptional | id (picked from your account) | User (who adds the reply) |
ccoptional | array | CC (emails) |
bccoptional | array | BCC (emails) |
add_note
Add Note. Adds a note to a conversation.
| Input | Type | Description |
|---|---|---|
conversationIdoptional | id (picked from your account) | Conversation |
textrequired | long text | Note Text |
userIdoptional | id (picked from your account) | User |
create_customer
Create Customer. Adds a new customer to Help Scout.
| Input | Type | Description |
|---|---|---|
emailrequired | text | |
firstNameoptional | text | First Name |
lastNameoptional | text | Last Name |
phoneoptional | text | Phone |
photoUrloptional | text | Photo URL |
jobTitleoptional | text | Job Title |
locationoptional | text | Location |
backgroundoptional | long text | Background |
ageoptional | text | Customer’s age (string, e.g. "30-35") |
genderoptional | one of "male" | "female" | "unknown" | Gender |
organizationoptional | text | Organization |
socialProfilesoptional | array | URLs for social profiles (type will be set to "other") |
custom_api_call
Custom API Call. Make a custom API call to a specific endpoint
| Input | Type | Description |
|---|---|---|
urlrequired | object (depends on other props) | url |
methodrequired | one of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD" | Method |
headersrequired | object | Authorization headers are injected automatically from your connection. |
queryParamsrequired | object | Query Parameters |
body_typeoptional | one of "none" | "json" | "form_data" | "raw" | Body Type |
bodyoptional | object (depends on other props) | Body |
response_is_binaryoptional | boolean | Enable for files like PDFs, images, etc. |
failsafeoptional | boolean | No Error on Failure |
timeoutoptional | number | Timeout (in seconds) |
followRedirectsoptional | boolean | Follow redirects |
find_customer
Find Customer. Finds a customer by email.
| Input | Type | Description |
|---|---|---|
emailrequired | text |
find_user
Find User. Finds a user by email.
| Input | Type | Description |
|---|---|---|
emailrequired | text |
update_customer_properties
Update Customer Properties. Updates customer's properties.
| Input | Type | Description |
|---|---|---|
customerIdrequired | id (picked from your account) | Customer |
fieldsrequired | object (depends on other props) | Customer Properties |
Details
- Id
help-scout- Category
- Customer support
- Tags
- helpdesk, email, support, shared-inbox
- Package
@activepieces/piece-help-scout@0.1.4- Tier
- Community