Help Scout
Create conversations, list conversations, and add replies in Help Scout.
On this page
Connect
Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.
- From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
- Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
- Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.
Call it from a workflow
step.ctx.integrations.invoke("help-scout", action, input) resolves with the provider's answer and rejects when Help Scout isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "help-scout"} says whether yours can call it.
// workflows/notify.ts: call Help Scout when a booking is confirmed
import { on } from "@appbricx/workflows";
export const tellHelpscout = on.transition("booking", "status", "confirmed", async (_event, step) => {
// Recorded once: a retry doesn't send it twice. Rejects when Help Scout isn't connected.
const output = await step.run("Help Scout", () =>
step.ctx.integrations.invoke("help-scout", "create_conversation", {
"mailboxId": "<mailboxId>",
"subject": "<subject>",
"customerEmail": "<customer email>",
"threadType": "chat",
"status": "active",
"body": "<body>"
}),
);
step.ctx.log("Help Scout answered", output);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "help-scout",
"piece_action": "create_conversation",
"input": {
"mailboxId": "<mailboxId>",
"subject": "<subject>",
"customerEmail": "<customer email>",
"threadType": "chat",
"status": "active",
"body": "<body>"
},
"env": "dev"
}
}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_conversation
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_conversation
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_reply
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- Runs
- Through the integration runner