Freshservice - Category Field

Describe the problem/error/question

We are using the FreshService integration to create a ticket, our Freshservice environment requires the selection of a category if we do not provide one n8n will fail to create a ticket and throws an error.

I am unsure if this perhaps is more suited to be a feature request or not but am after advise on how to add the Category field?

What is the error message (if any)?

ERROR: Please check your parameters

For category: It should be one of these values: ‘Desktop Support & Miscellaneous,Hardware Order,Mobile Devices,Network & Infrastructure,Office 365,Software Order,User Administration,Building,Vehicle Fleet,Others’

Please share your workflow

{
“meta”: {
“instanceId”: “58859e4ce70ff8b4a9182870b8eca03bf3d609a65c523630bd17b27958193354”
},
“nodes”: [
{
“parameters”: {
“httpMethod”: “POST”,
“path”: “87621366-918b-4c99-ac3b-540dd87f9ae5”,
“options”: {}
},
“id”: “93c9922b-8072-4a0d-b3bd-7a93f81209dc”,
“name”: “Webhook”,
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 1,
“position”: [
820,
340
],
“webhookId”: “87621366-918b-4c99-ac3b-540dd87f9ae5”,
“alwaysOutputData”: true
},
{
“parameters”: {
“fieldToSplitOut”: “body.employees”,
“include”: “selectedOtherFields”,
“fieldsToInclude”: {
“fields”: [
{
“fieldName”: “First Name”
},
{
“fieldName”: “Last Name”
},
{
“fieldName”: “Employment Status”
},
{
“fieldName”: “Supervisor email”
},
{
“fieldName”: “Supervisor name”
}
]
},
“options”: {}
},
“id”: “95be7dd9-cb45-4d72-9600-773ab369f1d4”,
“name”: “Item Lists”,
“type”: “n8n-nodes-base.itemLists”,
“typeVersion”: 2,
“position”: [
1040,
340
]
},
{
“parameters”: {
“resource”: “ticket”,
“email”: “[email protected]”,
“subject”: “TEST from N8N”,
“description”: “={{ $json[‘body.employees’].fields[‘First Name’] }} {{ $json[‘body.employees’].fields[‘Last Name’] }} {{ $json[‘body.employees’].fields[‘Employment Status’] }}”,
“additionalFields”: {
“group_id”: 75000127127
}
},
“id”: “08d5a0a9-c663-41e7-a755-132ca45c0be1”,
“name”: “Freshservice”,
“type”: “n8n-nodes-base.freshservice”,
“typeVersion”: 1,
“position”: [
1260,
340
],
“credentials”: {
“freshserviceApi”: {
“id”: “2”,
“name”: “Freshservice account”
}
}
}
],
“connections”: {
“Webhook”: {
“main”: [
[
{
“node”: “Item Lists”,
“type”: “main”,
“index”: 0
}
]
]
},
“Item Lists”: {
“main”: [
[
{
“node”: “Freshservice”,
“type”: “main”,
“index”: 0
}
]
]
}
}
}

Share the output returned by the last node

N/A

Information on your n8n setup

  • **n8n version: 0.226.2
  • **Database: SQLite
  • **n8n EXECUTIONS_PROCESS setting: own
  • **Running n8n via: Docker
  • Operating system:

Hi @ricardo_rl

Welcome to the community!

I don’t personally use this service, but if the node doesn’t allow for this parameter to be set, it needs to be added into the code for you to use it.
So if you have the know-how you can do that yourself of course, or you can open a feature request to let everyone know you need this. How long it will then take for it to be added is unknown of course.

Another way around it is to use the HTTP request node to build the API request manually, that way you can set any parameter you want.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.