description:`User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email.`,
},
{
name:'Email',
value:'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.`,
},
{
name:'Facebook Id',
value:'facebookId',
description:`Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created.`,
},
{
name:'Phone',
value:'phone',
description:`Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory.`,
},
{
name:'Twitter Id',
value:'twitterId',
description:`Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact.`,
},
{
name:'Unique External Id',
value:'uniqueExternalId',
description:`External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact.`,
},
],
default:'requesterId',
description:'Requester Identification',
},
{
displayName:'Value',
name:'requesterIdentificationValue',
type:'string',
required: true,
displayOptions:{
show:{
resource:[
'ticket',
],
operation:[
'create'
]
},
},
default:'',
description:`Value of the identification selected `,
},
{
displayName:'Status',
name:'status',
type:'options',
required: true,
displayOptions:{
show:{
resource:[
'ticket',
],
operation:[
'create'
]
},
},
options:[
{
name:'Open',
value:'open',
},
{
name:'Pending',
value:'pending',
},
{
name:'Resolved',
value:'resolved',
},
{
name:'Closed',
value:'closed',
}
],
default:'pending',
description:'Status',
},
{
displayName:'Priority',
name:'priority',
type:'options',
required: true,
displayOptions:{
show:{
resource:[
'ticket',
],
operation:[
'create'
]
},
},
options:[
{
name:'Low',
value:'low',
},
{
name:'Medium',
value:'medium',
},
{
name:'High',
value:'high',
},
{
name:'Urgent',
value:'urgent',
}
],
default:'low',
description:'Priority',
},
{
displayName:'Source',
name:'source',
type:'options',
required: true,
displayOptions:{
show:{
resource:[
'ticket',
],
operation:[
'create'
]
},
},
options:[
{
name:'Email',
value:'email',
},
{
name:'Portal',
value:'portal',
},
{
name:'Phone',
value:'phone',
},
{
name:'Chat',
value:'chat',
},
{
name:'Mobihelp',
value:'mobileHelp',
},
{
name:'Feedback Widget',
value:'feedbackWidget',
},
{
name:'Outbound Email',
value:'OutboundEmail',
}
],
default:'portal',
description:'The channel through which the ticket was created.',
},
// {
// displayName: 'JSON Parameters',
// name: 'jsonParameters',
// type: 'boolean',
// default: false,
// description: '',
// displayOptions: {
// show: {
// resource: [
// 'ticket'
// ],
// operation: [
// 'create',
// ]
// },
// },
// },
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
default:{},
displayOptions:{
show:{
resource:[
'ticket'
],
operation:[
'create'
],
},
},
options:[
{
displayName:'Name',
name:'name',
type:'string',
default:'',
placeholder:'',
description:'Name of the requester',
},
{
displayName:'Subject',
name:'subject',
type:'string',
default:'',
placeholder:'',
description:'Subject of the ticket.',
},
{
displayName:'Type',
name:'type',
type:'options',
default:'Question',
description:'Helps categorize the ticket according to the different kinds of issues your support team deals with.',
options:[
{
name:'Question',
value:'Question'
},
{
name:'Incident',
value:'Incident'
},
{
name:'Problem',
value:'Problem'
},
{
name:'Feature Request',
value:'Feature Request'
},
{
name:'Refund',
value:'Refund'
},
]
},
{
displayName:'Description',
name:'description',
type:'string',
required: false,
default:'',
typeOptions:{
rows: 5,
alwaysOpenEditWindow: true,
},
description:'HTML content of the ticket.',
},
{
displayName:'Agent',
name:'agent',
type:'options',
required: false,
default:'',
typeOptions:{
loadOptionsMethod:'getAgents'
},
description:'ID of the agent to whom the ticket has been assigned',
},
{
displayName:'CC Emails',
name:'ccEmails',
required: false,
type:'string',
default:'',
description:`separated by , email addresses added in the 'cc' field of the incoming ticket email`,
},
{
displayName:'Tags',
name:'tags',
required: false,
type:'string',
default:'',
description:`separated by , tags that have been associated with the ticket`,
},
{
displayName:'Due By',
name:'dueBy',
required: false,
type:'dateTime',
default:'',
description:`Timestamp that denotes when the ticket is due to be resolved`,
},
{
displayName:'Email config Id',
name:'emailConfigId',
type:'number',
required: false,
default:'',
description:`ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com)
description:`Timestamp that denotes when the first response is due`,
},
{
displayName:'Group',
name:'group',
required: false,
type:'options',
default:'',
typeOptions:{
loadOptionsMethod:'getGroups'
},
description:`ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id`,
},
{
displayName:'Product',
name:'product',
required: false,
type:'options',
default:'',
typeOptions:{
loadOptionsMethod:'getProducts'
},
description:`ID of the product to which the ticket is associated.