diff --git a/docs/content/docs/reference/components/freshdesk_v1.mdx b/docs/content/docs/reference/components/freshdesk_v1.mdx
index f318cd49dc7..251f203e583 100644
--- a/docs/content/docs/reference/components/freshdesk_v1.mdx
+++ b/docs/content/docs/reference/components/freshdesk_v1.mdx
@@ -95,10 +95,17 @@ Type: OBJECT
| Name | Type | Description |
|:------------:|:------------:|:-------------------:|
-| id | NUMBER | ID of the company. |
+| id | INTEGER | ID of the company. |
| name | STRING | Name of the company. |
| description | STRING | Description of the company. |
+| domains | ARRAY Items [STRING] | List of domains associated with the company. |
| note | STRING | Note about the company. |
+| created_at | STRING | Timestamp when the company was created. |
+| updated_at | STRING | Timestamp when the company was last updated. |
+| health_score | STRING | Health score of the company. |
+| account_tier | STRING | Account tier of the company. |
+| renewal_date | STRING | Renewal date of the company subscription. |
+| industry | STRING | Industry of the company. |
@@ -106,10 +113,17 @@ Type: OBJECT
#### Output Example
```json
{
- "id" : 0.0,
+ "id" : 1,
"name" : "",
"description" : "",
- "note" : ""
+ "domains" : [ "" ],
+ "note" : "",
+ "created_at" : "",
+ "updated_at" : "",
+ "health_score" : "",
+ "account_tier" : "",
+ "renewal_date" : "",
+ "industry" : ""
}
```
@@ -160,10 +174,29 @@ Type: OBJECT
| Name | Type | Description |
|:------------:|:------------:|:-------------------:|
-| description | STRING | A small description of the contact. |
-| email | STRING | Primary email address of the contact. |
-| id | NUMBER | ID of the contact. |
+| active | BOOLEAN Options true , false | Whether the contact is active. |
+| address | STRING | Address of the contact. |
+| company_id | INTEGER | ID of the primary company of the contact. |
+| view_all_tickets | BOOLEAN Options true , false | Whether the contact can view all tickets. |
+| deleted | BOOLEAN Options true , false | Whether the contact is deleted. |
+| description | STRING | Description of the contact. |
+| email | STRING | Email address of the contact. |
+| id | INTEGER | ID of the contact. |
+| contact_type | STRING | Type of the contact. |
| job_title | STRING | Job title of the contact. |
+| language | STRING | Language of the contact. |
+| mobile | STRING | Mobile number of the contact. |
+| name | STRING | Name of the contact. |
+| phone | STRING | Phone number of the contact. |
+| time_zone | STRING | Time zone of the contact. |
+| twitter_id | STRING | Twitter ID of the contact. |
+| social_handler | ARRAY Items [STRING] | List of social handlers of the contact. |
+| other_emails | ARRAY Items [STRING] | List of additional email addresses of the contact. |
+| other_companies | ARRAY Items [{INTEGER\(company_id), BOOLEAN\(view_all_tickets)}] | List of other companies associated with the contact. |
+| created_at | STRING | Timestamp when the contact was created. |
+| updated_at | STRING | Timestamp when the contact was last updated. |
+| tags | ARRAY Items [STRING] | List of tags associated with the contact. |
+| avatar | STRING | Avatar of the contact. |
@@ -171,10 +204,32 @@ Type: OBJECT
#### Output Example
```json
{
+ "active" : false,
+ "address" : "",
+ "company_id" : 1,
+ "view_all_tickets" : false,
+ "deleted" : false,
"description" : "",
"email" : "",
- "id" : 0.0,
- "job_title" : ""
+ "id" : 1,
+ "contact_type" : "",
+ "job_title" : "",
+ "language" : "",
+ "mobile" : "",
+ "name" : "",
+ "phone" : "",
+ "time_zone" : "",
+ "twitter_id" : "",
+ "social_handler" : [ "" ],
+ "other_emails" : [ "" ],
+ "other_companies" : [ {
+ "company_id" : 1,
+ "view_all_tickets" : false
+ } ],
+ "created_at" : "",
+ "updated_at" : "",
+ "tags" : [ "" ],
+ "avatar" : ""
}
```
@@ -223,11 +278,34 @@ Type: OBJECT
| Name | Type | Description |
|:------------:|:------------:|:-------------------:|
-| subject | STRING | Subject of the ticket. |
-| email | STRING | Email address of the requester. |
-| description | STRING | HTML content of the ticket. |
+| cc_emails | ARRAY Items [STRING] | List of email addresses added in the cc field of the ticket. |
+| fwd_emails | ARRAY Items [STRING] | List of email addresses added while forwarding a ticket. |
+| reply_cc_emails | ARRAY Items [STRING] | List of email addresses added while replying to a ticket. |
+| email_config_id | INTEGER | ID of the email config used for the ticket. |
+| group_id | INTEGER | ID of the group the ticket is assigned to. |
| priority | INTEGER | Priority of the ticket. |
+| requester_id | INTEGER | ID of the requester of the ticket. |
+| responder_id | INTEGER | ID of the agent the ticket is assigned to. |
+| source | INTEGER | Channel through which the ticket was created. |
| status | INTEGER | Status of the ticket. |
+| subject | STRING | Subject of the ticket. |
+| company_id | INTEGER | ID of the company the ticket belongs to. |
+| id | INTEGER | ID of the ticket. |
+| type | STRING | Type of the ticket. |
+| to_emails | ARRAY Items [STRING] | List of email addresses the ticket was sent to. |
+| product_id | INTEGER | ID of the product the ticket belongs to. |
+| fr_escalated | BOOLEAN Options true , false | Whether the ticket has been escalated as the result of first response time being breached. |
+| spam | BOOLEAN Options true , false | Whether the ticket has been marked as spam. |
+| urgent | BOOLEAN Options true , false | Whether the ticket is marked as urgent. |
+| is_escalated | BOOLEAN Options true , false | Whether the ticket has been escalated. |
+| created_at | STRING | Timestamp when the ticket was created. |
+| updated_at | STRING | Timestamp when the ticket was last updated. |
+| due_by | STRING | Timestamp when the ticket is due to be resolved. |
+| fr_due_by | STRING | Timestamp when the first response is due. |
+| description_text | STRING | Plain text version of the ticket description. |
+| description | STRING | HTML content of the ticket description. |
+| tags | ARRAY Items [STRING] | List of tags associated with the ticket. |
+| attachments | ARRAY Items [{}] | List of attachments associated with the ticket. |
@@ -235,11 +313,147 @@ Type: OBJECT
#### Output Example
```json
{
+ "cc_emails" : [ "" ],
+ "fwd_emails" : [ "" ],
+ "reply_cc_emails" : [ "" ],
+ "email_config_id" : 1,
+ "group_id" : 1,
+ "priority" : 1,
+ "requester_id" : 1,
+ "responder_id" : 1,
+ "source" : 1,
+ "status" : 1,
"subject" : "",
- "email" : "",
+ "company_id" : 1,
+ "id" : 1,
+ "type" : "",
+ "to_emails" : [ "" ],
+ "product_id" : 1,
+ "fr_escalated" : false,
+ "spam" : false,
+ "urgent" : false,
+ "is_escalated" : false,
+ "created_at" : "",
+ "updated_at" : "",
+ "due_by" : "",
+ "fr_due_by" : "",
+ "description_text" : "",
"description" : "",
+ "tags" : [ "" ],
+ "attachments" : [ { } ]
+}
+```
+
+
+
+
+### Update Ticket
+Name: updateTicket
+
+`Update a ticket`
+
+#### Properties
+
+| Name | Label | Type | Description | Required |
+|:---------------:|:--------------:|:------------:|:-------------------:|:--------:|
+| ticketId | Ticket Id | STRING | | false |
+| subject | Subject | STRING | Subject of the ticket. | false |
+| email | Email | STRING | Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact. | false |
+| description | Description | STRING | HTML content of the ticket. | false |
+| priority | Priority | INTEGER Options 1 , 2 , 3 , 4 | Priority of the ticket. | false |
+| status | Status | INTEGER Options 2 , 3 , 4 , 5 | Status of the ticket. | false |
+
+#### Example JSON Structure
+```json
+{
+ "label" : "Update Ticket",
+ "name" : "updateTicket",
+ "parameters" : {
+ "ticketId" : "",
+ "subject" : "",
+ "email" : "",
+ "description" : "",
+ "priority" : 1,
+ "status" : 1
+ },
+ "type" : "freshdesk/v1/updateTicket"
+}
+```
+
+#### Output
+
+
+
+Type: OBJECT
+
+
+#### Properties
+
+| Name | Type | Description |
+|:------------:|:------------:|:-------------------:|
+| cc_emails | ARRAY Items [STRING] | List of email addresses added in the cc field of the ticket. |
+| fwd_emails | ARRAY Items [STRING] | List of email addresses added while forwarding a ticket. |
+| reply_cc_emails | ARRAY Items [STRING] | List of email addresses added while replying to a ticket. |
+| email_config_id | INTEGER | ID of the email config used for the ticket. |
+| group_id | INTEGER | ID of the group the ticket is assigned to. |
+| priority | INTEGER | Priority of the ticket. |
+| requester_id | INTEGER | ID of the requester of the ticket. |
+| responder_id | INTEGER | ID of the agent the ticket is assigned to. |
+| source | INTEGER | Channel through which the ticket was created. |
+| status | INTEGER | Status of the ticket. |
+| subject | STRING | Subject of the ticket. |
+| company_id | INTEGER | ID of the company the ticket belongs to. |
+| id | INTEGER | ID of the ticket. |
+| type | STRING | Type of the ticket. |
+| to_emails | ARRAY Items [STRING] | List of email addresses the ticket was sent to. |
+| product_id | INTEGER | ID of the product the ticket belongs to. |
+| fr_escalated | BOOLEAN Options true , false | Whether the ticket has been escalated as the result of first response time being breached. |
+| spam | BOOLEAN Options true , false | Whether the ticket has been marked as spam. |
+| urgent | BOOLEAN Options true , false | Whether the ticket is marked as urgent. |
+| is_escalated | BOOLEAN Options true , false | Whether the ticket has been escalated. |
+| created_at | STRING | Timestamp when the ticket was created. |
+| updated_at | STRING | Timestamp when the ticket was last updated. |
+| due_by | STRING | Timestamp when the ticket is due to be resolved. |
+| fr_due_by | STRING | Timestamp when the first response is due. |
+| description_text | STRING | Plain text version of the ticket description. |
+| description | STRING | HTML content of the ticket description. |
+| tags | ARRAY Items [STRING] | List of tags associated with the ticket. |
+| attachments | ARRAY Items [{}] | List of attachments associated with the ticket. |
+
+
+
+
+#### Output Example
+```json
+{
+ "cc_emails" : [ "" ],
+ "fwd_emails" : [ "" ],
+ "reply_cc_emails" : [ "" ],
+ "email_config_id" : 1,
+ "group_id" : 1,
"priority" : 1,
- "status" : 1
+ "requester_id" : 1,
+ "responder_id" : 1,
+ "source" : 1,
+ "status" : 1,
+ "subject" : "",
+ "company_id" : 1,
+ "id" : 1,
+ "type" : "",
+ "to_emails" : [ "" ],
+ "product_id" : 1,
+ "fr_escalated" : false,
+ "spam" : false,
+ "urgent" : false,
+ "is_escalated" : false,
+ "created_at" : "",
+ "updated_at" : "",
+ "due_by" : "",
+ "fr_due_by" : "",
+ "description_text" : "",
+ "description" : "",
+ "tags" : [ "" ],
+ "attachments" : [ { } ]
}
```
diff --git a/server/libs/modules/components/freshdesk/openapi.yaml b/server/libs/modules/components/freshdesk/openapi.yaml
index ea14e3decdc..d91c99c0405 100644
--- a/server/libs/modules/components/freshdesk/openapi.yaml
+++ b/server/libs/modules/components/freshdesk/openapi.yaml
@@ -15,6 +15,7 @@ paths:
description: "Creates a new company"
operationId: "createCompany"
x-ai-agent-tool: true
+ x-help: "https://docs.bytechef.io/reference/components/freshdesk_v1#create-company"
requestBody:
content:
application/json:
@@ -42,7 +43,7 @@ paths:
type: "object"
properties:
id:
- type: "number"
+ type: "integer"
description: "ID of the company."
name:
type: "string"
@@ -50,9 +51,32 @@ paths:
description:
type: "string"
description: "Description of the company."
+ domains:
+ type: "array"
+ description: "List of domains associated with the company."
+ items:
+ type: "string"
note:
type: "string"
description: "Note about the company."
+ created_at:
+ type: "string"
+ description: "Timestamp when the company was created."
+ updated_at:
+ type: "string"
+ description: "Timestamp when the company was last updated."
+ health_score:
+ type: "string"
+ description: "Health score of the company."
+ account_tier:
+ type: "string"
+ description: "Account tier of the company."
+ renewal_date:
+ type: "string"
+ description: "Renewal date of the company subscription."
+ industry:
+ type: "string"
+ description: "Industry of the company."
/contacts:
post:
tags:
@@ -61,6 +85,7 @@ paths:
description: "Creates a new contact"
operationId: "createContact"
x-ai-agent-tool: true
+ x-help: "https://docs.bytechef.io/reference/components/freshdesk_v1#create-contact"
requestBody:
content:
application/json:
@@ -99,18 +124,90 @@ paths:
schema:
type: "object"
properties:
+ active:
+ type: "boolean"
+ description: "Whether the contact is active."
+ address:
+ type: "string"
+ description: "Address of the contact."
+ company_id:
+ type: "integer"
+ description: "ID of the primary company of the contact."
+ view_all_tickets:
+ type: "boolean"
+ description: "Whether the contact can view all tickets."
+ deleted:
+ type: "boolean"
+ description: "Whether the contact is deleted."
description:
type: "string"
- description: "A small description of the contact."
+ description: "Description of the contact."
email:
type: "string"
- description: "Primary email address of the contact."
+ description: "Email address of the contact."
id:
- type: "number"
+ type: "integer"
description: "ID of the contact."
+ contact_type:
+ type: "string"
+ description: "Type of the contact."
job_title:
type: "string"
description: "Job title of the contact."
+ language:
+ type: "string"
+ description: "Language of the contact."
+ mobile:
+ type: "string"
+ description: "Mobile number of the contact."
+ name:
+ type: "string"
+ description: "Name of the contact."
+ phone:
+ type: "string"
+ description: "Phone number of the contact."
+ time_zone:
+ type: "string"
+ description: "Time zone of the contact."
+ twitter_id:
+ type: "string"
+ description: "Twitter ID of the contact."
+ social_handler:
+ type: "array"
+ description: "List of social handlers of the contact."
+ items:
+ type: "string"
+ other_emails:
+ type: "array"
+ description: "List of additional email addresses of the contact."
+ items:
+ type: "string"
+ other_companies:
+ type: "array"
+ description: "List of other companies associated with the contact."
+ items:
+ type: "object"
+ properties:
+ company_id:
+ type: "integer"
+ description: "ID of the company."
+ view_all_tickets:
+ type: "boolean"
+ description: "Whether the contact can view all tickets of the company."
+ created_at:
+ type: "string"
+ description: "Timestamp when the contact was created."
+ updated_at:
+ type: "string"
+ description: "Timestamp when the contact was last updated."
+ tags:
+ type: "array"
+ description: "List of tags associated with the contact."
+ items:
+ type: "string"
+ avatar:
+ type: "string"
+ description: "Avatar of the contact."
/tickets:
post:
tags:
@@ -119,6 +216,7 @@ paths:
description: "Creates a new ticket"
operationId: "createTicket"
x-ai-agent-tool: true
+ x-help: "https://docs.bytechef.io/reference/components/freshdesk_v1#create-ticket"
requestBody:
content:
application/json:
@@ -166,22 +264,258 @@ paths:
schema:
type: "object"
properties:
+ cc_emails:
+ type: "array"
+ description: "List of email addresses added in the cc field of the ticket."
+ items:
+ type: "string"
+ fwd_emails:
+ type: "array"
+ description: "List of email addresses added while forwarding a ticket."
+ items:
+ type: "string"
+ reply_cc_emails:
+ type: "array"
+ description: "List of email addresses added while replying to a ticket."
+ items:
+ type: "string"
+ email_config_id:
+ type: "integer"
+ description: "ID of the email config used for the ticket."
+ group_id:
+ type: "integer"
+ description: "ID of the group the ticket is assigned to."
+ priority:
+ type: "integer"
+ description: "Priority of the ticket."
+ requester_id:
+ type: "integer"
+ description: "ID of the requester of the ticket."
+ responder_id:
+ type: "integer"
+ description: "ID of the agent the ticket is assigned to."
+ source:
+ type: "integer"
+ description: "Channel through which the ticket was created."
+ status:
+ type: "integer"
+ description: "Status of the ticket."
subject:
type: "string"
description: "Subject of the ticket."
- email:
+ company_id:
+ type: "integer"
+ description: "ID of the company the ticket belongs to."
+ id:
+ type: "integer"
+ description: "ID of the ticket."
+ type:
+ type: "string"
+ description: "Type of the ticket."
+ to_emails:
+ type: "array"
+ description: "List of email addresses the ticket was sent to."
+ items:
+ type: "string"
+ product_id:
+ type: "integer"
+ description: "ID of the product the ticket belongs to."
+ fr_escalated:
+ type: "boolean"
+ description: "Whether the ticket has been escalated as the result of first response time being breached."
+ spam:
+ type: "boolean"
+ description: "Whether the ticket has been marked as spam."
+ urgent:
+ type: "boolean"
+ description: "Whether the ticket is marked as urgent."
+ is_escalated:
+ type: "boolean"
+ description: "Whether the ticket has been escalated."
+ created_at:
+ type: "string"
+ description: "Timestamp when the ticket was created."
+ updated_at:
+ type: "string"
+ description: "Timestamp when the ticket was last updated."
+ due_by:
+ type: "string"
+ description: "Timestamp when the ticket is due to be resolved."
+ fr_due_by:
type: "string"
- format: "email"
- description: "Email address of the requester."
+ description: "Timestamp when the first response is due."
+ description_text:
+ type: "string"
+ description: "Plain text version of the ticket description."
description:
type: "string"
- description: "HTML content of the ticket."
+ description: "HTML content of the ticket description."
+ tags:
+ type: "array"
+ description: "List of tags associated with the ticket."
+ items:
+ type: "string"
+ attachments:
+ type: "array"
+ description: "List of attachments associated with the ticket."
+ items:
+ type: "object"
+ /tickets/{ticketId}:
+ put:
+ tags:
+ - "Tickets"
+ summary: "Update Ticket"
+ description: "Update a ticket"
+ operationId: "updateTicket"
+ x-ai-agent-tool: true
+ x-help: "https://docs.bytechef.io/reference/components/freshdesk_v1#update-ticket"
+ parameters:
+ - name: "ticketId"
+ in: "path"
+ schema:
+ type: "string"
+ description: "ID of the ticket that will be updated."
+ x-dynamic-options: true
+ required: true
+ requestBody:
+ content:
+ application/json:
+ schema:
+ title: "Ticket"
+ type: "object"
+ properties:
+ subject:
+ type: "string"
+ description: "Subject of the ticket."
+ email:
+ type: "string"
+ description: "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact."
+ format: "email"
+ description:
+ type: "string"
+ description: "HTML content of the ticket."
+ priority:
+ type: "integer"
+ description: "Priority of the ticket."
+ default: "1"
+ enum:
+ - "1"
+ - "2"
+ - "3"
+ - "4"
+ status:
+ type: "integer"
+ description: "Status of the ticket."
+ default: "2"
+ enum:
+ - "2"
+ - "3"
+ - "4"
+ - "5"
+ responses:
+ 201:
+ description: "Successful operation."
+ content:
+ application/json:
+ schema:
+ type: "object"
+ properties:
+ cc_emails:
+ type: "array"
+ description: "List of email addresses added in the cc field of the ticket."
+ items:
+ type: "string"
+ fwd_emails:
+ type: "array"
+ description: "List of email addresses added while forwarding a ticket."
+ items:
+ type: "string"
+ reply_cc_emails:
+ type: "array"
+ description: "List of email addresses added while replying to a ticket."
+ items:
+ type: "string"
+ email_config_id:
+ type: "integer"
+ description: "ID of the email config used for the ticket."
+ group_id:
+ type: "integer"
+ description: "ID of the group the ticket is assigned to."
priority:
type: "integer"
description: "Priority of the ticket."
+ requester_id:
+ type: "integer"
+ description: "ID of the requester of the ticket."
+ responder_id:
+ type: "integer"
+ description: "ID of the agent the ticket is assigned to."
+ source:
+ type: "integer"
+ description: "Channel through which the ticket was created."
status:
type: "integer"
description: "Status of the ticket."
+ subject:
+ type: "string"
+ description: "Subject of the ticket."
+ company_id:
+ type: "integer"
+ description: "ID of the company the ticket belongs to."
+ id:
+ type: "integer"
+ description: "ID of the ticket."
+ type:
+ type: "string"
+ description: "Type of the ticket."
+ to_emails:
+ type: "array"
+ description: "List of email addresses the ticket was sent to."
+ items:
+ type: "string"
+ product_id:
+ type: "integer"
+ description: "ID of the product the ticket belongs to."
+ fr_escalated:
+ type: "boolean"
+ description: "Whether the ticket has been escalated as the result of first response time being breached."
+ spam:
+ type: "boolean"
+ description: "Whether the ticket has been marked as spam."
+ urgent:
+ type: "boolean"
+ description: "Whether the ticket is marked as urgent."
+ is_escalated:
+ type: "boolean"
+ description: "Whether the ticket has been escalated."
+ created_at:
+ type: "string"
+ description: "Timestamp when the ticket was created."
+ updated_at:
+ type: "string"
+ description: "Timestamp when the ticket was last updated."
+ due_by:
+ type: "string"
+ description: "Timestamp when the ticket is due to be resolved."
+ fr_due_by:
+ type: "string"
+ description: "Timestamp when the first response is due."
+ description_text:
+ type: "string"
+ description: "Plain text version of the ticket description."
+ description:
+ type: "string"
+ description: "HTML content of the ticket description."
+ tags:
+ type: "array"
+ description: "List of tags associated with the ticket."
+ items:
+ type: "string"
+ attachments:
+ type: "array"
+ description: "List of attachments associated with the ticket."
+ items:
+ type: "object"
components:
securitySchemes:
basicAuth:
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/AbstractFreshdeskComponentHandler.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/AbstractFreshdeskComponentHandler.java
index 0f6601c1d3d..93ce24b2145 100644
--- a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/AbstractFreshdeskComponentHandler.java
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/AbstractFreshdeskComponentHandler.java
@@ -24,6 +24,7 @@
import com.bytechef.component.freshdesk.action.FreshdeskCreateCompanyAction;
import com.bytechef.component.freshdesk.action.FreshdeskCreateContactAction;
import com.bytechef.component.freshdesk.action.FreshdeskCreateTicketAction;
+import com.bytechef.component.freshdesk.action.FreshdeskUpdateTicketAction;
import com.bytechef.component.freshdesk.connection.FreshdeskConnection;
/**
@@ -39,11 +40,13 @@ public abstract class AbstractFreshdeskComponentHandler implements OpenApiCompon
"Freshdesk is a cloud-based customer support software that helps businesses manage customer queries and tickets efficiently.")
.version(1))
.actions(modifyActions(FreshdeskCreateCompanyAction.ACTION_DEFINITION,
- FreshdeskCreateContactAction.ACTION_DEFINITION, FreshdeskCreateTicketAction.ACTION_DEFINITION))
+ FreshdeskCreateContactAction.ACTION_DEFINITION, FreshdeskCreateTicketAction.ACTION_DEFINITION,
+ FreshdeskUpdateTicketAction.ACTION_DEFINITION))
.connection(modifyConnection(FreshdeskConnection.CONNECTION_DEFINITION))
.clusterElements(modifyClusterElements(tool(FreshdeskCreateCompanyAction.ACTION_DEFINITION),
tool(FreshdeskCreateContactAction.ACTION_DEFINITION),
- tool(FreshdeskCreateTicketAction.ACTION_DEFINITION)))
+ tool(FreshdeskCreateTicketAction.ACTION_DEFINITION),
+ tool(FreshdeskUpdateTicketAction.ACTION_DEFINITION)))
.triggers(getTriggers());
@Override
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/FreshdeskComponentHandler.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/FreshdeskComponentHandler.java
index 5d17f52885a..8e5e60fd106 100644
--- a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/FreshdeskComponentHandler.java
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/FreshdeskComponentHandler.java
@@ -43,6 +43,7 @@ public class FreshdeskComponentHandler extends AbstractFreshdeskComponentHandler
public ModifiableComponentDefinition modifyComponent(ModifiableComponentDefinition modifiableComponentDefinition) {
return modifiableComponentDefinition
.customAction(true)
+ .customActionHelp("", "https://developers.freshdesk.com/api/#introduction")
.icon("path:assets/freshdesk.svg")
.categories(ComponentCategory.CUSTOMER_SUPPORT);
}
@@ -52,6 +53,8 @@ public ModifiableConnectionDefinition modifyConnection(
ModifiableConnectionDefinition modifiableConnectionDefinition) {
return modifiableConnectionDefinition
+ .version(1)
+ .help("", "https://docs.bytechef.io/reference/components/freshdesk_v1#connection-setup")
.authorizations(
authorization(AuthorizationType.BASIC_AUTH)
.title("Basic Auth")
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateCompanyAction.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateCompanyAction.java
index b3771a96e63..815554251dd 100644
--- a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateCompanyAction.java
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateCompanyAction.java
@@ -18,7 +18,8 @@
import static com.bytechef.component.OpenApiComponentHandler.PropertyType;
import static com.bytechef.component.definition.ComponentDsl.action;
-import static com.bytechef.component.definition.ComponentDsl.number;
+import static com.bytechef.component.definition.ComponentDsl.array;
+import static com.bytechef.component.definition.ComponentDsl.integer;
import static com.bytechef.component.definition.ComponentDsl.object;
import static com.bytechef.component.definition.ComponentDsl.outputSchema;
import static com.bytechef.component.definition.ComponentDsl.string;
@@ -61,17 +62,33 @@ public class FreshdeskCreateCompanyAction {
.label("Note")
.description("Any specific note about the company.")
.required(false))
- .output(outputSchema(object().properties(number("id").description("ID of the company.")
+ .output(outputSchema(object().properties(integer("id").description("ID of the company.")
.required(false),
string("name").description("Name of the company.")
.required(false),
string("description").description("Description of the company.")
.required(false),
+ array("domains").items(string().description("List of domains associated with the company."))
+ .description("List of domains associated with the company.")
+ .required(false),
string("note").description("Note about the company.")
+ .required(false),
+ string("created_at").description("Timestamp when the company was created.")
+ .required(false),
+ string("updated_at").description("Timestamp when the company was last updated.")
+ .required(false),
+ string("health_score").description("Health score of the company.")
+ .required(false),
+ string("account_tier").description("Account tier of the company.")
+ .required(false),
+ string("renewal_date").description("Renewal date of the company subscription.")
+ .required(false),
+ string("industry").description("Industry of the company.")
.required(false))
.metadata(
Map.of(
- "responseType", ResponseType.JSON))));
+ "responseType", ResponseType.JSON))))
+ .help("", "https://docs.bytechef.io/reference/components/freshdesk_v1#create-company");
private FreshdeskCreateCompanyAction() {
}
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateContactAction.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateContactAction.java
index 991bdcf7083..12be7d9c0fc 100644
--- a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateContactAction.java
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateContactAction.java
@@ -18,7 +18,9 @@
import static com.bytechef.component.OpenApiComponentHandler.PropertyType;
import static com.bytechef.component.definition.ComponentDsl.action;
-import static com.bytechef.component.definition.ComponentDsl.number;
+import static com.bytechef.component.definition.ComponentDsl.array;
+import static com.bytechef.component.definition.ComponentDsl.bool;
+import static com.bytechef.component.definition.ComponentDsl.integer;
import static com.bytechef.component.definition.ComponentDsl.object;
import static com.bytechef.component.definition.ComponentDsl.outputSchema;
import static com.bytechef.component.definition.ComponentDsl.string;
@@ -79,18 +81,64 @@ public class FreshdeskCreateContactAction {
.label("Job Title")
.description("Job title of the contact.")
.required(false))
- .output(outputSchema(object()
- .properties(string("description").description("A small description of the contact.")
- .required(false),
- string("email").description("Primary email address of the contact.")
- .required(false),
- number("id").description("ID of the contact.")
- .required(false),
- string("job_title").description("Job title of the contact.")
+ .output(outputSchema(object().properties(bool("active").description("Whether the contact is active.")
+ .required(false),
+ string("address").description("Address of the contact.")
+ .required(false),
+ integer("company_id").description("ID of the primary company of the contact.")
+ .required(false),
+ bool("view_all_tickets").description("Whether the contact can view all tickets.")
+ .required(false),
+ bool("deleted").description("Whether the contact is deleted.")
+ .required(false),
+ string("description").description("Description of the contact.")
+ .required(false),
+ string("email").description("Email address of the contact.")
+ .required(false),
+ integer("id").description("ID of the contact.")
+ .required(false),
+ string("contact_type").description("Type of the contact.")
+ .required(false),
+ string("job_title").description("Job title of the contact.")
+ .required(false),
+ string("language").description("Language of the contact.")
+ .required(false),
+ string("mobile").description("Mobile number of the contact.")
+ .required(false),
+ string("name").description("Name of the contact.")
+ .required(false),
+ string("phone").description("Phone number of the contact.")
+ .required(false),
+ string("time_zone").description("Time zone of the contact.")
+ .required(false),
+ string("twitter_id").description("Twitter ID of the contact.")
+ .required(false),
+ array("social_handler").items(string().description("List of social handlers of the contact."))
+ .description("List of social handlers of the contact.")
+ .required(false),
+ array("other_emails").items(string().description("List of additional email addresses of the contact."))
+ .description("List of additional email addresses of the contact.")
+ .required(false),
+ array("other_companies").items(object().properties(integer("company_id").description("ID of the company.")
+ .required(false),
+ bool("view_all_tickets").description("Whether the contact can view all tickets of the company.")
.required(false))
+ .description("List of other companies associated with the contact."))
+ .description("List of other companies associated with the contact.")
+ .required(false),
+ string("created_at").description("Timestamp when the contact was created.")
+ .required(false),
+ string("updated_at").description("Timestamp when the contact was last updated.")
+ .required(false),
+ array("tags").items(string().description("List of tags associated with the contact."))
+ .description("List of tags associated with the contact.")
+ .required(false),
+ string("avatar").description("Avatar of the contact.")
+ .required(false))
.metadata(
Map.of(
- "responseType", ResponseType.JSON))));
+ "responseType", ResponseType.JSON))))
+ .help("", "https://docs.bytechef.io/reference/components/freshdesk_v1#create-contact");
private FreshdeskCreateContactAction() {
}
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateTicketAction.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateTicketAction.java
index 5ff1dbab417..778538bd114 100644
--- a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateTicketAction.java
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskCreateTicketAction.java
@@ -18,6 +18,8 @@
import static com.bytechef.component.OpenApiComponentHandler.PropertyType;
import static com.bytechef.component.definition.ComponentDsl.action;
+import static com.bytechef.component.definition.ComponentDsl.array;
+import static com.bytechef.component.definition.ComponentDsl.bool;
import static com.bytechef.component.definition.ComponentDsl.integer;
import static com.bytechef.component.definition.ComponentDsl.object;
import static com.bytechef.component.definition.ComponentDsl.option;
@@ -77,19 +79,79 @@ public class FreshdeskCreateTicketAction {
.description("Status of the ticket.")
.options(option("2", 2), option("3", 3), option("4", 4), option("5", 5))
.required(false))
- .output(outputSchema(object().properties(string("subject").description("Subject of the ticket.")
- .required(false),
- string("email").description("Email address of the requester.")
- .required(false),
- string("description").description("HTML content of the ticket.")
- .required(false),
- integer("priority").description("Priority of the ticket.")
- .required(false),
- integer("status").description("Status of the ticket.")
- .required(false))
+ .output(outputSchema(object()
+ .properties(
+ array("cc_emails")
+ .items(string().description("List of email addresses added in the cc field of the ticket."))
+ .description("List of email addresses added in the cc field of the ticket.")
+ .required(false),
+ array("fwd_emails")
+ .items(string().description("List of email addresses added while forwarding a ticket."))
+ .description("List of email addresses added while forwarding a ticket.")
+ .required(false),
+ array("reply_cc_emails")
+ .items(string().description("List of email addresses added while replying to a ticket."))
+ .description("List of email addresses added while replying to a ticket.")
+ .required(false),
+ integer("email_config_id").description("ID of the email config used for the ticket.")
+ .required(false),
+ integer("group_id").description("ID of the group the ticket is assigned to.")
+ .required(false),
+ integer("priority").description("Priority of the ticket.")
+ .required(false),
+ integer("requester_id").description("ID of the requester of the ticket.")
+ .required(false),
+ integer("responder_id").description("ID of the agent the ticket is assigned to.")
+ .required(false),
+ integer("source").description("Channel through which the ticket was created.")
+ .required(false),
+ integer("status").description("Status of the ticket.")
+ .required(false),
+ string("subject").description("Subject of the ticket.")
+ .required(false),
+ integer("company_id").description("ID of the company the ticket belongs to.")
+ .required(false),
+ integer("id").description("ID of the ticket.")
+ .required(false),
+ string("type").description("Type of the ticket.")
+ .required(false),
+ array("to_emails").items(string().description("List of email addresses the ticket was sent to."))
+ .description("List of email addresses the ticket was sent to.")
+ .required(false),
+ integer("product_id").description("ID of the product the ticket belongs to.")
+ .required(false),
+ bool("fr_escalated")
+ .description(
+ "Whether the ticket has been escalated as the result of first response time being breached.")
+ .required(false),
+ bool("spam").description("Whether the ticket has been marked as spam.")
+ .required(false),
+ bool("urgent").description("Whether the ticket is marked as urgent.")
+ .required(false),
+ bool("is_escalated").description("Whether the ticket has been escalated.")
+ .required(false),
+ string("created_at").description("Timestamp when the ticket was created.")
+ .required(false),
+ string("updated_at").description("Timestamp when the ticket was last updated.")
+ .required(false),
+ string("due_by").description("Timestamp when the ticket is due to be resolved.")
+ .required(false),
+ string("fr_due_by").description("Timestamp when the first response is due.")
+ .required(false),
+ string("description_text").description("Plain text version of the ticket description.")
+ .required(false),
+ string("description").description("HTML content of the ticket description.")
+ .required(false),
+ array("tags").items(string().description("List of tags associated with the ticket."))
+ .description("List of tags associated with the ticket.")
+ .required(false),
+ array("attachments").items(object().description("List of attachments associated with the ticket."))
+ .description("List of attachments associated with the ticket.")
+ .required(false))
.metadata(
Map.of(
- "responseType", ResponseType.JSON))));
+ "responseType", ResponseType.JSON))))
+ .help("", "https://docs.bytechef.io/reference/components/freshdesk_v1#create-ticket");
private FreshdeskCreateTicketAction() {
}
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskUpdateTicketAction.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskUpdateTicketAction.java
new file mode 100644
index 00000000000..1e9d9e4c90a
--- /dev/null
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/action/FreshdeskUpdateTicketAction.java
@@ -0,0 +1,166 @@
+/*
+ * Copyright 2025 ByteChef
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.bytechef.component.freshdesk.action;
+
+import static com.bytechef.component.OpenApiComponentHandler.PropertyType;
+import static com.bytechef.component.definition.ComponentDsl.action;
+import static com.bytechef.component.definition.ComponentDsl.array;
+import static com.bytechef.component.definition.ComponentDsl.bool;
+import static com.bytechef.component.definition.ComponentDsl.integer;
+import static com.bytechef.component.definition.ComponentDsl.object;
+import static com.bytechef.component.definition.ComponentDsl.option;
+import static com.bytechef.component.definition.ComponentDsl.outputSchema;
+import static com.bytechef.component.definition.ComponentDsl.string;
+import static com.bytechef.component.definition.Context.Http.BodyContentType;
+import static com.bytechef.component.definition.Context.Http.ResponseType;
+
+import com.bytechef.component.definition.ActionDefinition;
+import com.bytechef.component.definition.ComponentDsl;
+import com.bytechef.component.freshdesk.util.FreshdeskUtils;
+import java.util.Map;
+
+/**
+ * Provides a list of the component actions.
+ *
+ * @generated
+ */
+public class FreshdeskUpdateTicketAction {
+ public static final ComponentDsl.ModifiableActionDefinition ACTION_DEFINITION = action("updateTicket")
+ .title("Update Ticket")
+ .description("Update a ticket")
+ .metadata(
+ Map.of(
+ "method", "PUT",
+ "path", "/tickets/{ticketId}", "bodyContentType", BodyContentType.JSON, "mimeType", "application/json"
+
+ ))
+ .properties(string("ticketId").label("Ticket Id")
+ .required(false)
+ .options((ActionDefinition.OptionsFunction) FreshdeskUtils::getTicketIdOptions)
+ .metadata(
+ Map.of(
+ "type", PropertyType.PATH)),
+ string("subject").metadata(
+ Map.of(
+ "type", PropertyType.BODY))
+ .label("Subject")
+ .description("Subject of the ticket.")
+ .required(false),
+ string("email").metadata(
+ Map.of(
+ "type", PropertyType.BODY))
+ .label("Email")
+ .description(
+ "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.")
+ .required(false),
+ string("description").metadata(
+ Map.of(
+ "type", PropertyType.BODY))
+ .label("Description")
+ .description("HTML content of the ticket.")
+ .required(false),
+ integer("priority").metadata(
+ Map.of(
+ "type", PropertyType.BODY))
+ .label("Priority")
+ .description("Priority of the ticket.")
+ .options(option("1", 1), option("2", 2), option("3", 3), option("4", 4))
+ .required(false),
+ integer("status").metadata(
+ Map.of(
+ "type", PropertyType.BODY))
+ .label("Status")
+ .description("Status of the ticket.")
+ .options(option("2", 2), option("3", 3), option("4", 4), option("5", 5))
+ .required(false))
+ .output(outputSchema(object()
+ .properties(
+ array("cc_emails")
+ .items(string().description("List of email addresses added in the cc field of the ticket."))
+ .description("List of email addresses added in the cc field of the ticket.")
+ .required(false),
+ array("fwd_emails")
+ .items(string().description("List of email addresses added while forwarding a ticket."))
+ .description("List of email addresses added while forwarding a ticket.")
+ .required(false),
+ array("reply_cc_emails")
+ .items(string().description("List of email addresses added while replying to a ticket."))
+ .description("List of email addresses added while replying to a ticket.")
+ .required(false),
+ integer("email_config_id").description("ID of the email config used for the ticket.")
+ .required(false),
+ integer("group_id").description("ID of the group the ticket is assigned to.")
+ .required(false),
+ integer("priority").description("Priority of the ticket.")
+ .required(false),
+ integer("requester_id").description("ID of the requester of the ticket.")
+ .required(false),
+ integer("responder_id").description("ID of the agent the ticket is assigned to.")
+ .required(false),
+ integer("source").description("Channel through which the ticket was created.")
+ .required(false),
+ integer("status").description("Status of the ticket.")
+ .required(false),
+ string("subject").description("Subject of the ticket.")
+ .required(false),
+ integer("company_id").description("ID of the company the ticket belongs to.")
+ .required(false),
+ integer("id").description("ID of the ticket.")
+ .required(false),
+ string("type").description("Type of the ticket.")
+ .required(false),
+ array("to_emails").items(string().description("List of email addresses the ticket was sent to."))
+ .description("List of email addresses the ticket was sent to.")
+ .required(false),
+ integer("product_id").description("ID of the product the ticket belongs to.")
+ .required(false),
+ bool("fr_escalated")
+ .description(
+ "Whether the ticket has been escalated as the result of first response time being breached.")
+ .required(false),
+ bool("spam").description("Whether the ticket has been marked as spam.")
+ .required(false),
+ bool("urgent").description("Whether the ticket is marked as urgent.")
+ .required(false),
+ bool("is_escalated").description("Whether the ticket has been escalated.")
+ .required(false),
+ string("created_at").description("Timestamp when the ticket was created.")
+ .required(false),
+ string("updated_at").description("Timestamp when the ticket was last updated.")
+ .required(false),
+ string("due_by").description("Timestamp when the ticket is due to be resolved.")
+ .required(false),
+ string("fr_due_by").description("Timestamp when the first response is due.")
+ .required(false),
+ string("description_text").description("Plain text version of the ticket description.")
+ .required(false),
+ string("description").description("HTML content of the ticket description.")
+ .required(false),
+ array("tags").items(string().description("List of tags associated with the ticket."))
+ .description("List of tags associated with the ticket.")
+ .required(false),
+ array("attachments").items(object().description("List of attachments associated with the ticket."))
+ .description("List of attachments associated with the ticket.")
+ .required(false))
+ .metadata(
+ Map.of(
+ "responseType", ResponseType.JSON))))
+ .help("", "https://docs.bytechef.io/reference/components/freshdesk_v1#update-ticket");
+
+ private FreshdeskUpdateTicketAction() {
+ }
+}
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/AbstractFreshdeskUtils.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/AbstractFreshdeskUtils.java
new file mode 100644
index 00000000000..e6023e1d55b
--- /dev/null
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/AbstractFreshdeskUtils.java
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2025 ByteChef
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.bytechef.component.freshdesk.util;
+
+import com.bytechef.component.definition.Context;
+import com.bytechef.component.definition.Option;
+import com.bytechef.component.definition.Parameters;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Provides methods for retrieving dynamic options and properties for various properties within the component.
+ *
+ * @generated
+ */
+public abstract class AbstractFreshdeskUtils {
+ public static List> getTicketIdOptions(
+ Parameters inputParameters,
+ Parameters connectionParameters, Map lookupDependsOnPaths, String searchText,
+ Context context) {
+
+ return List.of();
+ }
+}
diff --git a/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/FreshdeskUtils.java b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/FreshdeskUtils.java
new file mode 100644
index 00000000000..6f1da498fdc
--- /dev/null
+++ b/server/libs/modules/components/freshdesk/src/main/java/com/bytechef/component/freshdesk/util/FreshdeskUtils.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2025 ByteChef
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.bytechef.component.freshdesk.util;
+
+import static com.bytechef.component.definition.ComponentDsl.option;
+
+import com.bytechef.component.definition.Context;
+import com.bytechef.component.definition.Context.Http;
+import com.bytechef.component.definition.Option;
+import com.bytechef.component.definition.Parameters;
+import com.bytechef.component.definition.TypeReference;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author Nikolina Spehar
+ */
+public class FreshdeskUtils extends AbstractFreshdeskUtils {
+ private FreshdeskUtils() {
+ }
+
+ public static List> getTicketIdOptions(
+ Parameters inputParameters, Parameters connectionParameters, Map lookupDependsOnPaths,
+ String searchText, Context context) {
+
+ List> response = context.http(http -> http.get("/tickets"))
+ .configuration(Http.responseType(Http.ResponseType.JSON))
+ .execute()
+ .getBody(new TypeReference<>() {});
+
+ List> ticketIdOptions = new ArrayList<>();
+
+ for (Map map : response) {
+ ticketIdOptions.add(
+ option(map.get("subject")
+ .toString(),
+ map.get("id")
+ .toString()));
+ }
+
+ return ticketIdOptions;
+ }
+}
diff --git a/server/libs/modules/components/freshdesk/src/test/java/com/bytechef/component/freshdesk/util/FreshdeskUtilsTest.java b/server/libs/modules/components/freshdesk/src/test/java/com/bytechef/component/freshdesk/util/FreshdeskUtilsTest.java
new file mode 100644
index 00000000000..3d5d3f790fa
--- /dev/null
+++ b/server/libs/modules/components/freshdesk/src/test/java/com/bytechef/component/freshdesk/util/FreshdeskUtilsTest.java
@@ -0,0 +1,74 @@
+/*
+ * Copyright 2025 ByteChef
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.bytechef.component.freshdesk.util;
+
+import static com.bytechef.component.definition.ComponentDsl.option;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.mockito.ArgumentCaptor.forClass;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.when;
+
+import com.bytechef.component.definition.Context;
+import com.bytechef.component.definition.Context.ContextFunction;
+import com.bytechef.component.definition.Context.Http;
+import com.bytechef.component.definition.Context.Http.Configuration;
+import com.bytechef.component.definition.Context.Http.Configuration.ConfigurationBuilder;
+import com.bytechef.component.definition.Context.Http.Executor;
+import com.bytechef.component.definition.Context.Http.Response;
+import com.bytechef.component.definition.Context.Http.ResponseType;
+import com.bytechef.component.definition.Option;
+import com.bytechef.component.definition.TypeReference;
+import com.bytechef.component.test.definition.extension.MockContextSetupExtension;
+import java.util.List;
+import java.util.Map;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.mockito.ArgumentCaptor;
+
+/**
+ * @author Nikolina Spehar
+ */
+@ExtendWith(MockContextSetupExtension.class)
+class FreshdeskUtilsTest {
+
+ private final ArgumentCaptor stringArgumentCaptor = forClass(String.class);
+
+ @Test
+ void testGetTicketIdOptions(
+ Context mockedContext, Response mockedResponse, Executor mockedExecutor, Http mockedHttp,
+ ArgumentCaptor> httpFunctionArgumentCaptor,
+ ArgumentCaptor configurationBuilderArgumentCaptor) {
+
+ when(mockedHttp.get(stringArgumentCaptor.capture()))
+ .thenReturn(mockedExecutor);
+ when(mockedResponse.getBody(any(TypeReference.class)))
+ .thenReturn(List.of(Map.of("subject", "title", "id", 1)));
+
+ List> result = FreshdeskUtils.getTicketIdOptions(
+ null, null, Map.of(), "", mockedContext);
+
+ assertEquals(List.of(option("title", "1")), result);
+ assertNotNull(httpFunctionArgumentCaptor.getValue());
+ assertEquals("/tickets", stringArgumentCaptor.getValue());
+
+ ConfigurationBuilder configurationBuilder = configurationBuilderArgumentCaptor.getValue();
+ Configuration configuration = configurationBuilder.build();
+
+ assertEquals(ResponseType.JSON, configuration.getResponseType());
+ }
+}
diff --git a/server/libs/modules/components/freshdesk/src/test/resources/definition/freshdesk_v1.json b/server/libs/modules/components/freshdesk/src/test/resources/definition/freshdesk_v1.json
index b986b05bbc3..ffa9f918a5b 100644
--- a/server/libs/modules/components/freshdesk/src/test/resources/definition/freshdesk_v1.json
+++ b/server/libs/modules/components/freshdesk/src/test/resources/definition/freshdesk_v1.json
@@ -6,7 +6,10 @@
"beforeTimeoutResume": null,
"deprecated": null,
"description": "Creates a new company",
- "help": null,
+ "help": {
+ "body": "",
+ "learnMoreUrl": "https://docs.bytechef.io/reference/components/freshdesk_v1#create-company"
+ },
"metadata": {
"path": "/companies",
"mimeType": "application/json",
@@ -41,7 +44,7 @@
"placeholder": null,
"properties": [ {
"advancedOption": null,
- "controlType": "NUMBER",
+ "controlType": "INTEGER",
"defaultValue": null,
"description": "ID of the company.",
"displayCondition": null,
@@ -49,18 +52,15 @@
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
"maxValue": null,
"metadata": { },
- "minNumberPrecision": null,
"minValue": null,
"name": "id",
- "numberPrecision": null,
"options": null,
"optionsDataSource": null,
"placeholder": null,
"required": false,
- "type": "NUMBER"
+ "type": "INTEGER"
}, {
"advancedOption": null,
"controlType": "TEXT",
@@ -105,6 +105,49 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "domains",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
}, {
"advancedOption": null,
"controlType": "TEXT",
@@ -127,6 +170,138 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Health score of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "health_score",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Account tier of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "account_tier",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Renewal date of the company subscription.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "renewal_date",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Industry of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "industry",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
} ],
"required": null,
"type": "OBJECT"
@@ -158,7 +333,7 @@
"placeholder": null,
"properties": [ {
"advancedOption": null,
- "controlType": "NUMBER",
+ "controlType": "INTEGER",
"defaultValue": null,
"description": "ID of the company.",
"displayCondition": null,
@@ -166,18 +341,15 @@
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
"maxValue": null,
"metadata": { },
- "minNumberPrecision": null,
"minValue": null,
"name": "id",
- "numberPrecision": null,
"options": null,
"optionsDataSource": null,
"placeholder": null,
"required": false,
- "type": "NUMBER"
+ "type": "INTEGER"
}, {
"advancedOption": null,
"controlType": "TEXT",
@@ -222,6 +394,49 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "domains",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
}, {
"advancedOption": null,
"controlType": "TEXT",
@@ -244,252 +459,33 @@
"regex": null,
"required": false,
"type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "sampleOutput": null
- },
- "perform": null,
- "processErrorResponse": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Name of the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Name",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "name",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Description of the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Description",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Any specific note about the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Note",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "note",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- } ],
- "resumePerform": null,
- "title": "Create Company",
- "workflowNodeDescription": null
- }, {
- "batch": null,
- "beforeResume": null,
- "beforeSuspend": null,
- "beforeTimeoutResume": null,
- "deprecated": null,
- "description": "Creates a new contact",
- "help": null,
- "metadata": {
- "path": "/contacts",
- "mimeType": "application/json",
- "method": "POST",
- "bodyContentType": "JSON"
- },
- "name": "createContact",
- "outputDefinition": {
- "output": null,
- "outputResponse": {
- "outputSchema": {
- "additionalProperties": null,
+ }, {
"advancedOption": null,
- "controlType": "OBJECT_BUILDER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": null,
+ "description": "Timestamp when the company was created.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "A small description of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Primary email address of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "email",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "NUMBER",
- "defaultValue": null,
- "description": "ID of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "maxNumberPrecision": null,
- "maxValue": null,
- "metadata": { },
- "minNumberPrecision": null,
- "minValue": null,
- "name": "id",
- "numberPrecision": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "NUMBER"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Job title of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "job_title",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "placeholder": null,
- "sampleOutput": null
- },
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "A small description of the contact.",
+ "description": "Timestamp when the company was last updated.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -499,7 +495,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "updated_at",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -511,7 +507,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Primary email address of the contact.",
+ "description": "Health score of the company.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -521,7 +517,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "email",
+ "name": "health_score",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -531,31 +527,31 @@
"type": "STRING"
}, {
"advancedOption": null,
- "controlType": "NUMBER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": "ID of the contact.",
+ "description": "Account tier of the company.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
- "maxValue": null,
+ "languageId": null,
+ "maxLength": null,
"metadata": { },
- "minNumberPrecision": null,
- "minValue": null,
- "name": "id",
- "numberPrecision": null,
+ "minLength": null,
+ "name": "account_tier",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
+ "regex": null,
"required": false,
- "type": "NUMBER"
+ "type": "STRING"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Job title of the contact.",
+ "description": "Renewal date of the company subscription.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -565,7 +561,29 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "job_title",
+ "name": "renewal_date",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Industry of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "industry",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -585,7 +603,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Full name of the contact",
+ "description": "Name of the company.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -609,67 +627,19 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Primary email address of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Email",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "email",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Telephone number of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Work Phone",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "phone",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Mobile number of the contact.",
+ "description": "Description of the company.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
- "label": "Mobile",
+ "label": "Description",
"languageId": null,
"maxLength": null,
"metadata": {
"type": "BODY"
},
"minLength": null,
- "name": "mobile",
+ "name": "description",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -681,43 +651,19 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "A small description of the contact.",
+ "description": "Any specific note about the company.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
- "label": "Description",
+ "label": "Note",
"languageId": null,
"maxLength": null,
"metadata": {
"type": "BODY"
},
"minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Job title of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Job Title",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "job_title",
+ "name": "note",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -727,7 +673,7 @@
"type": "STRING"
} ],
"resumePerform": null,
- "title": "Create Contact",
+ "title": "Create Company",
"workflowNodeDescription": null
}, {
"batch": null,
@@ -735,15 +681,18 @@
"beforeSuspend": null,
"beforeTimeoutResume": null,
"deprecated": null,
- "description": "Creates a new ticket",
- "help": null,
+ "description": "Creates a new contact",
+ "help": {
+ "body": "",
+ "learnMoreUrl": "https://docs.bytechef.io/reference/components/freshdesk_v1#create-contact"
+ },
"metadata": {
- "path": "/tickets",
+ "path": "/contacts",
"mimeType": "application/json",
"method": "POST",
"bodyContentType": "JSON"
},
- "name": "createTicket",
+ "name": "createContact",
"outputDefinition": {
"output": null,
"outputResponse": {
@@ -770,10 +719,34 @@
"optionsDataSource": null,
"placeholder": null,
"properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is active.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "active",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Subject of the ticket.",
+ "description": "Address of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -783,7 +756,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "subject",
+ "name": "address",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -791,11 +764,78 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the primary company of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is deleted.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "deleted",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Email address of the requester.",
+ "description": "Description of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -805,7 +845,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "email",
+ "name": "description",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -817,7 +857,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "HTML content of the ticket.",
+ "description": "Email address of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -827,7 +867,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "email",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -839,7 +879,7 @@
"advancedOption": null,
"controlType": "INTEGER",
"defaultValue": null,
- "description": "Priority of the ticket.",
+ "description": "ID of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -848,7 +888,7 @@
"maxValue": null,
"metadata": { },
"minValue": null,
- "name": "priority",
+ "name": "id",
"options": null,
"optionsDataSource": null,
"placeholder": null,
@@ -856,372 +896,97 @@
"type": "INTEGER"
}, {
"advancedOption": null,
- "controlType": "INTEGER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": "Status of the ticket.",
+ "description": "Type of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxValue": null,
+ "languageId": null,
+ "maxLength": null,
"metadata": { },
- "minValue": null,
- "name": "status",
+ "minLength": null,
+ "name": "contact_type",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
+ "regex": null,
"required": false,
- "type": "INTEGER"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "placeholder": null,
- "sampleOutput": null
- },
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Subject of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "subject",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Email address of the requester.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "email",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "HTML content of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "INTEGER",
- "defaultValue": null,
- "description": "Priority of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "maxValue": null,
- "metadata": { },
- "minValue": null,
- "name": "priority",
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "INTEGER"
- }, {
- "advancedOption": null,
- "controlType": "INTEGER",
- "defaultValue": null,
- "description": "Status of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "maxValue": null,
- "metadata": { },
- "minValue": null,
- "name": "status",
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "INTEGER"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "sampleOutput": null
- },
- "perform": null,
- "processErrorResponse": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Subject of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Subject",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "subject",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Email",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "email",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "HTML content of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Description",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "SELECT",
- "defaultValue": 1,
- "description": "Priority of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Priority",
- "maxValue": null,
- "metadata": {
- "type": "BODY"
- },
- "minValue": null,
- "name": "priority",
- "options": [ {
- "description": null,
- "label": "Low",
- "value": 1
- }, {
- "description": null,
- "label": "Medium",
- "value": 2
- }, {
- "description": null,
- "label": "High",
- "value": 3
- }, {
- "description": null,
- "label": "Urgent",
- "value": 4
- } ],
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "INTEGER"
- }, {
- "advancedOption": null,
- "controlType": "SELECT",
- "defaultValue": 2,
- "description": "Status of the ticket.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Status",
- "maxValue": null,
- "metadata": {
- "type": "BODY"
- },
- "minValue": null,
- "name": "status",
- "options": [ {
- "description": null,
- "label": "Open",
- "value": 2
- }, {
- "description": null,
- "label": "Pending",
- "value": 3
- }, {
- "description": null,
- "label": "Resolved",
- "value": 4
- }, {
- "description": null,
- "label": "Closed",
- "value": 5
- } ],
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "INTEGER"
- } ],
- "resumePerform": null,
- "title": "Create Ticket",
- "workflowNodeDescription": null
- } ],
- "clusterElements": [ {
- "name": "createCompany",
- "description": "Creates a new company",
- "element": null,
- "help": null,
- "outputDefinition": {
- "output": null,
- "outputResponse": {
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
+ "type": "STRING"
+ }, {
"advancedOption": null,
- "controlType": "NUMBER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": "ID of the company.",
+ "description": "Job title of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
- "maxValue": null,
+ "languageId": null,
+ "maxLength": null,
"metadata": { },
- "minNumberPrecision": null,
- "minValue": null,
- "name": "id",
- "numberPrecision": null,
+ "minLength": null,
+ "name": "job_title",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
+ "regex": null,
"required": false,
- "type": "NUMBER"
+ "type": "STRING"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Name of the company.",
+ "description": "Language of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "language",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Mobile number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "mobile",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1243,7 +1008,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Description of the company.",
+ "description": "Phone number of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1253,7 +1018,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "phone",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1265,7 +1030,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Note about the company.",
+ "description": "Time zone of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1275,7 +1040,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "note",
+ "name": "time_zone",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1283,62 +1048,454 @@
"regex": null,
"required": false,
"type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "placeholder": null,
- "sampleOutput": null
- },
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "NUMBER",
- "defaultValue": null,
- "description": "ID of the company.",
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Twitter ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "twitter_id",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "social_handler",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_companies",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Avatar of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "avatar",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is active.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "active",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "address",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the primary company of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
"maxValue": null,
"metadata": { },
- "minNumberPrecision": null,
"minValue": null,
- "name": "id",
- "numberPrecision": null,
+ "name": "company_id",
"options": null,
"optionsDataSource": null,
"placeholder": null,
"required": false,
- "type": "NUMBER"
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is deleted.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "deleted",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Name of the company.",
+ "description": "Description of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1348,7 +1505,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "name",
+ "name": "description",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1360,7 +1517,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Description of the company.",
+ "description": "Email address of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1370,7 +1527,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "email",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1378,11 +1535,30 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Note about the company.",
+ "description": "Type of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1392,7 +1568,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "note",
+ "name": "contact_type",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1400,247 +1576,33 @@
"regex": null,
"required": false,
"type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "sampleOutput": null
- },
- "processErrorResponse": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Name of the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Name",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "name",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": true,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Description of the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Description",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Any specific note about the company.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": "Note",
- "languageId": null,
- "maxLength": null,
- "metadata": {
- "type": "BODY"
- },
- "minLength": null,
- "name": "note",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- } ],
- "title": "Create Company",
- "type": {
- "name": "TOOLS",
- "key": "tools",
- "label": "Tools",
- "multipleElements": true,
- "required": false
- },
- "workflowNodeDescription": null
- }, {
- "name": "createContact",
- "description": "Creates a new contact",
- "element": null,
- "help": null,
- "outputDefinition": {
- "output": null,
- "outputResponse": {
- "outputSchema": {
- "additionalProperties": null,
+ }, {
"advancedOption": null,
- "controlType": "OBJECT_BUILDER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": null,
+ "description": "Job title of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "job_title",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
- "properties": [ {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "A small description of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "description",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Primary email address of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "email",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- }, {
- "advancedOption": null,
- "controlType": "NUMBER",
- "defaultValue": null,
- "description": "ID of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "maxNumberPrecision": null,
- "maxValue": null,
- "metadata": { },
- "minNumberPrecision": null,
- "minValue": null,
- "name": "id",
- "numberPrecision": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "required": false,
- "type": "NUMBER"
- }, {
- "advancedOption": null,
- "controlType": "TEXT",
- "defaultValue": null,
- "description": "Job title of the contact.",
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "languageId": null,
- "maxLength": null,
- "metadata": { },
- "minLength": null,
- "name": "job_title",
- "options": null,
- "optionsDataSource": null,
- "optionsLoadedDynamically": null,
- "placeholder": null,
- "regex": null,
- "required": false,
- "type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "placeholder": null,
- "sampleOutput": null
- },
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "A small description of the contact.",
+ "description": "Language of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1650,7 +1612,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "language",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1662,7 +1624,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Primary email address of the contact.",
+ "description": "Mobile number of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1672,7 +1634,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "email",
+ "name": "mobile",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1682,31 +1644,31 @@
"type": "STRING"
}, {
"advancedOption": null,
- "controlType": "NUMBER",
+ "controlType": "TEXT",
"defaultValue": null,
- "description": "ID of the contact.",
+ "description": "Name of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxNumberPrecision": null,
- "maxValue": null,
+ "languageId": null,
+ "maxLength": null,
"metadata": { },
- "minNumberPrecision": null,
- "minValue": null,
- "name": "id",
- "numberPrecision": null,
+ "minLength": null,
+ "name": "name",
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
+ "regex": null,
"required": false,
- "type": "NUMBER"
+ "type": "STRING"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Job title of the contact.",
+ "description": "Phone number of the contact.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1716,7 +1678,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "job_title",
+ "name": "phone",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1724,15 +1686,339 @@
"regex": null,
"required": false,
"type": "STRING"
- } ],
- "required": null,
- "type": "OBJECT"
- },
- "sampleOutput": null
- },
- "processErrorResponse": null,
- "properties": [ {
- "advancedOption": null,
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Time zone of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "time_zone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Twitter ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "twitter_id",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "social_handler",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_companies",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Avatar of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "avatar",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "perform": null,
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
"description": "Full name of the contact",
@@ -1876,25 +2162,32 @@
"required": false,
"type": "STRING"
} ],
+ "resumePerform": null,
"title": "Create Contact",
- "type": {
- "name": "TOOLS",
- "key": "tools",
- "label": "Tools",
- "multipleElements": true,
- "required": false
- },
"workflowNodeDescription": null
}, {
- "name": "createTicket",
+ "batch": null,
+ "beforeResume": null,
+ "beforeSuspend": null,
+ "beforeTimeoutResume": null,
+ "deprecated": null,
"description": "Creates a new ticket",
- "element": null,
- "help": null,
- "outputDefinition": {
- "output": null,
- "outputResponse": {
- "outputSchema": {
- "additionalProperties": null,
+ "help": {
+ "body": "",
+ "learnMoreUrl": "https://docs.bytechef.io/reference/components/freshdesk_v1#create-ticket"
+ },
+ "metadata": {
+ "path": "/tickets",
+ "mimeType": "application/json",
+ "method": "POST",
+ "bodyContentType": "JSON"
+ },
+ "name": "createTicket",
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
"advancedOption": null,
"controlType": "OBJECT_BUILDER",
"defaultValue": null,
@@ -1916,6 +2209,268 @@
"optionsDataSource": null,
"placeholder": null,
"properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
@@ -1939,31 +2494,47 @@
"type": "STRING"
}, {
"advancedOption": null,
- "controlType": "TEXT",
+ "controlType": "INTEGER",
"defaultValue": null,
- "description": "Email address of the requester.",
+ "description": "ID of the company the ticket belongs to.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "languageId": null,
- "maxLength": null,
+ "maxValue": null,
"metadata": { },
- "minLength": null,
- "name": "email",
+ "minValue": null,
+ "name": "company_id",
"options": null,
"optionsDataSource": null,
- "optionsLoadedDynamically": null,
"placeholder": null,
- "regex": null,
"required": false,
- "type": "STRING"
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
}, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "HTML content of the ticket.",
+ "description": "Type of the ticket.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1973,7 +2544,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "description",
+ "name": "type",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -1981,11 +2552,54 @@
"regex": null,
"required": false,
"type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
}, {
"advancedOption": null,
"controlType": "INTEGER",
"defaultValue": null,
- "description": "Priority of the ticket.",
+ "description": "ID of the product the ticket belongs to.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -1994,7 +2608,7 @@
"maxValue": null,
"metadata": { },
"minValue": null,
- "name": "priority",
+ "name": "product_id",
"options": null,
"optionsDataSource": null,
"placeholder": null,
@@ -2002,57 +2616,8007 @@
"type": "INTEGER"
}, {
"advancedOption": null,
- "controlType": "INTEGER",
+ "controlType": "SELECT",
"defaultValue": null,
- "description": "Status of the ticket.",
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "perform": null,
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Subject",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Email",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Description",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 1,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Priority",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "priority",
+ "options": [ {
+ "description": null,
+ "label": "Low",
+ "value": 1
+ }, {
+ "description": null,
+ "label": "Medium",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "High",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Urgent",
+ "value": 4
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 2,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Status",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "status",
+ "options": [ {
+ "description": null,
+ "label": "Open",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "Pending",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Resolved",
+ "value": 4
+ }, {
+ "description": null,
+ "label": "Closed",
+ "value": 5
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ } ],
+ "resumePerform": null,
+ "title": "Create Ticket",
+ "workflowNodeDescription": null
+ }, {
+ "batch": null,
+ "beforeResume": null,
+ "beforeSuspend": null,
+ "beforeTimeoutResume": null,
+ "deprecated": null,
+ "description": "Update a ticket",
+ "help": {
+ "body": "",
+ "learnMoreUrl": "https://docs.bytechef.io/reference/components/freshdesk_v1#update-ticket"
+ },
+ "metadata": {
+ "path": "/tickets/{ticketId}",
+ "mimeType": "application/json",
+ "method": "PUT",
+ "bodyContentType": "JSON"
+ },
+ "name": "updateTicket",
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "perform": null,
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Ticket Id",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "PATH"
+ },
+ "minLength": null,
+ "name": "ticketId",
+ "options": null,
+ "optionsDataSource": {
+ "options": { },
+ "optionsLookupDependsOn": null
+ },
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Subject",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Email",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Description",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 1,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Priority",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "priority",
+ "options": [ {
+ "description": null,
+ "label": "Low",
+ "value": 1
+ }, {
+ "description": null,
+ "label": "Medium",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "High",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Urgent",
+ "value": 4
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 2,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Status",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "status",
+ "options": [ {
+ "description": null,
+ "label": "Open",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "Pending",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Resolved",
+ "value": 4
+ }, {
+ "description": null,
+ "label": "Closed",
+ "value": 5
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ } ],
+ "resumePerform": null,
+ "title": "Update Ticket",
+ "workflowNodeDescription": null
+ } ],
+ "clusterElements": [ {
+ "name": "createCompany",
+ "description": "Creates a new company",
+ "element": null,
+ "help": null,
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Description of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "domains",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Note about the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "note",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Health score of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "health_score",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Account tier of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "account_tier",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Renewal date of the company subscription.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "renewal_date",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Industry of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "industry",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Description of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of domains associated with the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "domains",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Note about the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "note",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the company was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Health score of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "health_score",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Account tier of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "account_tier",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Renewal date of the company subscription.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "renewal_date",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Industry of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "industry",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Name",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Description of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Description",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Any specific note about the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Note",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "note",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "title": "Create Company",
+ "type": {
+ "name": "TOOLS",
+ "key": "tools",
+ "label": "Tools",
+ "multipleElements": true,
+ "required": false
+ },
+ "workflowNodeDescription": null
+ }, {
+ "name": "createContact",
+ "description": "Creates a new contact",
+ "element": null,
+ "help": null,
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is active.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "active",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "address",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the primary company of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is deleted.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "deleted",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Description of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Email address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "contact_type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Job title of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "job_title",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Language of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "language",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Mobile number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "mobile",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Phone number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "phone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Time zone of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "time_zone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Twitter ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "twitter_id",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "social_handler",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_companies",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Avatar of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "avatar",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is active.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "active",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "address",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the primary company of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact is deleted.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "deleted",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Description of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Email address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "contact_type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Job title of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "job_title",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Language of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "language",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Mobile number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "mobile",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Name of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Phone number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "phone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Time zone of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "time_zone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Twitter ID of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "twitter_id",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of social handlers of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "social_handler",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of additional email addresses of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of other companies associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the contact can view all tickets of the company.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "view_all_tickets",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "other_companies",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the contact was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Avatar of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "avatar",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Full name of the contact",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Name",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "name",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Primary email address of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Email",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Telephone number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Work Phone",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "phone",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Mobile number of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Mobile",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "mobile",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "A small description of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Description",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Job title of the contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Job Title",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "job_title",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ } ],
+ "title": "Create Contact",
+ "type": {
+ "name": "TOOLS",
+ "key": "tools",
+ "label": "Tools",
+ "multipleElements": true,
+ "required": false
+ },
+ "workflowNodeDescription": null
+ }, {
+ "name": "createTicket",
+ "description": "Creates a new ticket",
+ "element": null,
+ "help": null,
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "sampleOutput": null
+ },
+ "processErrorResponse": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Subject",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Email",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "email",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Description",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": true,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 1,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Priority",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "priority",
+ "options": [ {
+ "description": null,
+ "label": "Low",
+ "value": 1
+ }, {
+ "description": null,
+ "label": "Medium",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "High",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Urgent",
+ "value": 4
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": 2,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Status",
+ "maxValue": null,
+ "metadata": {
+ "type": "BODY"
+ },
+ "minValue": null,
+ "name": "status",
+ "options": [ {
+ "description": null,
+ "label": "Open",
+ "value": 2
+ }, {
+ "description": null,
+ "label": "Pending",
+ "value": 3
+ }, {
+ "description": null,
+ "label": "Resolved",
+ "value": 4
+ }, {
+ "description": null,
+ "label": "Closed",
+ "value": 5
+ } ],
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ } ],
+ "title": "Create Ticket",
+ "type": {
+ "name": "TOOLS",
+ "key": "tools",
+ "label": "Tools",
+ "multipleElements": true,
+ "required": false
+ },
+ "workflowNodeDescription": null
+ }, {
+ "name": "updateTicket",
+ "description": "Update a ticket",
+ "element": null,
+ "help": null,
+ "outputDefinition": {
+ "output": null,
+ "outputResponse": {
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "created_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket was last updated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ } ],
+ "required": null,
+ "type": "OBJECT"
+ },
+ "placeholder": null,
+ "sampleOutput": null
+ },
+ "outputSchema": {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": {
+ "responseType": {
+ "contentType": "application/json",
+ "type": "JSON"
+ }
+ },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": [ {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added in the cc field of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while forwarding a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "fwd_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses added while replying to a ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "reply_cc_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the email config used for the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "email_config_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the group the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "group_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Priority of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "priority",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the requester of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "requester_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the agent the ticket is assigned to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "responder_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Channel through which the ticket was created.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "source",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "Status of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "status",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Subject of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "subject",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the company the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "company_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Type of the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "type",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "ARRAY_BUILDER",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of email addresses the ticket was sent to.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
"label": null,
- "maxValue": null,
+ "languageId": null,
+ "maxLength": null,
"metadata": { },
- "minValue": null,
- "name": "status",
+ "minLength": null,
+ "name": null,
"options": null,
"optionsDataSource": null,
+ "optionsLoadedDynamically": null,
"placeholder": null,
- "required": false,
- "type": "INTEGER"
+ "regex": null,
+ "required": null,
+ "type": "STRING"
} ],
- "required": null,
- "type": "OBJECT"
- },
- "placeholder": null,
- "sampleOutput": null
- },
- "outputSchema": {
- "additionalProperties": null,
- "advancedOption": null,
- "controlType": "OBJECT_BUILDER",
- "defaultValue": null,
- "description": null,
- "displayCondition": null,
- "exampleValue": null,
- "expressionEnabled": null,
- "hidden": null,
- "label": null,
- "metadata": {
- "responseType": {
- "contentType": "application/json",
- "type": "JSON"
- }
- },
- "multipleValues": null,
- "name": null,
- "options": null,
- "optionsDataSource": null,
- "placeholder": null,
- "properties": [ {
+ "label": null,
+ "maxItems": null,
+ "metadata": { },
+ "minItems": null,
+ "multipleValues": null,
+ "name": "to_emails",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "ARRAY"
+ }, {
+ "advancedOption": null,
+ "controlType": "INTEGER",
+ "defaultValue": null,
+ "description": "ID of the product the ticket belongs to.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "maxValue": null,
+ "metadata": { },
+ "minValue": null,
+ "name": "product_id",
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "required": false,
+ "type": "INTEGER"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated as the result of first response time being breached.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "fr_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been marked as spam.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "spam",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket is marked as urgent.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "urgent",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": "Whether the ticket has been escalated.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "name": "is_escalated",
+ "options": [ {
+ "description": null,
+ "label": "True",
+ "value": true
+ }, {
+ "description": null,
+ "label": "False",
+ "value": false
+ } ],
+ "placeholder": null,
+ "required": false,
+ "type": "BOOLEAN"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Subject of the ticket.",
+ "description": "Timestamp when the ticket was created.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -2062,7 +10626,7 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "subject",
+ "name": "created_at",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -2074,7 +10638,7 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "Email address of the requester.",
+ "description": "Timestamp when the ticket was last updated.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -2084,7 +10648,51 @@
"maxLength": null,
"metadata": { },
"minLength": null,
- "name": "email",
+ "name": "updated_at",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the ticket is due to be resolved.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "due_by",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "Timestamp when the first response is due.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "fr_due_by",
"options": null,
"optionsDataSource": null,
"optionsLoadedDynamically": null,
@@ -2096,7 +10704,29 @@
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
- "description": "HTML content of the ticket.",
+ "description": "Plain text version of the ticket description.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": "description_text",
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "HTML content of the ticket description.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
@@ -2116,42 +10746,88 @@
"type": "STRING"
}, {
"advancedOption": null,
- "controlType": "INTEGER",
+ "controlType": "ARRAY_BUILDER",
"defaultValue": null,
- "description": "Priority of the ticket.",
+ "description": "List of tags associated with the ticket.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
+ "items": [ {
+ "advancedOption": null,
+ "controlType": "TEXT",
+ "defaultValue": null,
+ "description": "List of tags associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "languageId": null,
+ "maxLength": null,
+ "metadata": { },
+ "minLength": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": null,
+ "type": "STRING"
+ } ],
"label": null,
- "maxValue": null,
+ "maxItems": null,
"metadata": { },
- "minValue": null,
- "name": "priority",
+ "minItems": null,
+ "multipleValues": null,
+ "name": "tags",
"options": null,
"optionsDataSource": null,
"placeholder": null,
"required": false,
- "type": "INTEGER"
+ "type": "ARRAY"
}, {
"advancedOption": null,
- "controlType": "INTEGER",
+ "controlType": "ARRAY_BUILDER",
"defaultValue": null,
- "description": "Status of the ticket.",
+ "description": "List of attachments associated with the ticket.",
"displayCondition": null,
"exampleValue": null,
"expressionEnabled": null,
"hidden": null,
+ "items": [ {
+ "additionalProperties": null,
+ "advancedOption": null,
+ "controlType": "OBJECT_BUILDER",
+ "defaultValue": null,
+ "description": "List of attachments associated with the ticket.",
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": null,
+ "metadata": { },
+ "multipleValues": null,
+ "name": null,
+ "options": null,
+ "optionsDataSource": null,
+ "placeholder": null,
+ "properties": null,
+ "required": null,
+ "type": "OBJECT"
+ } ],
"label": null,
- "maxValue": null,
+ "maxItems": null,
"metadata": { },
- "minValue": null,
- "name": "status",
+ "minItems": null,
+ "multipleValues": null,
+ "name": "attachments",
"options": null,
"optionsDataSource": null,
"placeholder": null,
"required": false,
- "type": "INTEGER"
+ "type": "ARRAY"
} ],
"required": null,
"type": "OBJECT"
@@ -2160,6 +10836,33 @@
},
"processErrorResponse": null,
"properties": [ {
+ "advancedOption": null,
+ "controlType": "SELECT",
+ "defaultValue": null,
+ "description": null,
+ "displayCondition": null,
+ "exampleValue": null,
+ "expressionEnabled": null,
+ "hidden": null,
+ "label": "Ticket Id",
+ "languageId": null,
+ "maxLength": null,
+ "metadata": {
+ "type": "PATH"
+ },
+ "minLength": null,
+ "name": "ticketId",
+ "options": null,
+ "optionsDataSource": {
+ "options": { },
+ "optionsLookupDependsOn": null
+ },
+ "optionsLoadedDynamically": null,
+ "placeholder": null,
+ "regex": null,
+ "required": false,
+ "type": "STRING"
+ }, {
"advancedOption": null,
"controlType": "TEXT",
"defaultValue": null,
@@ -2181,7 +10884,7 @@
"optionsLoadedDynamically": null,
"placeholder": null,
"regex": null,
- "required": true,
+ "required": false,
"type": "STRING"
}, {
"advancedOption": null,
@@ -2205,7 +10908,7 @@
"optionsLoadedDynamically": null,
"placeholder": null,
"regex": null,
- "required": true,
+ "required": false,
"type": "STRING"
}, {
"advancedOption": null,
@@ -2229,7 +10932,7 @@
"optionsLoadedDynamically": null,
"placeholder": null,
"regex": null,
- "required": true,
+ "required": false,
"type": "STRING"
}, {
"advancedOption": null,
@@ -2306,7 +11009,7 @@
"required": false,
"type": "INTEGER"
} ],
- "title": "Create Ticket",
+ "title": "Update Ticket",
"type": {
"name": "TOOLS",
"key": "tools",
@@ -2389,14 +11092,20 @@
"type": "BASIC_AUTH"
} ],
"baseUri": { },
- "help": null,
+ "help": {
+ "body": "",
+ "learnMoreUrl": "https://docs.bytechef.io/reference/components/freshdesk_v1#connection-setup"
+ },
"processErrorResponse": null,
"properties": null,
"test": null,
"version": 1
},
"customAction": true,
- "customActionHelp": null,
+ "customActionHelp": {
+ "body": "",
+ "learnMoreUrl": "https://developers.freshdesk.com/api/#introduction"
+ },
"description": "Freshdesk is a cloud-based customer support software that helps businesses manage customer queries and tickets efficiently.",
"icon": "path:assets/freshdesk.svg",
"metadata": null,