Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guides describes how to integrate with Freshdesk, we will use a method that also sends the attachment to Freshdesk tickets.

...

  1. Goto Credentials menu in iHub
  2. Select custom header and add a name and click Add Authentication
  3. Click Add button to add a new row (button located to the right)
  4. In the Key field add: Authorization
  5. Open a new browser tab and goto iHub Encode / Decode menu (BASE_URL/secure/RestfulClientAction.jspa?view=encode_decode)
  6. Paste the Freshdesk API token into the Data field and select Base64Encode and click Convert.
  7. Copy the output
  8. Go back to the tab with Credentials and add the value into the Value field and click Save.

example

KeyValue
AuthorizationBase64Encode Freshdesk API key

...

  1. Goto Outbound Integrations menu
  2. Click Create and select Action.
  3. Add a name and click Create.
  4. In the Configuration tab of the action you created select Method: POST
  5. Add the URL https://domain.freshdesk.com/api/v2/tickets where domain is your domain
  6. Select Authentication to be the Freshdesk credential that we created in step 2.
  7. On Issue Attachment(s) select Latest this will send any attachment added to the issue as well as the data
  8. Check Skip sending variables that has an empty value this to not send any empty form var
  9. In Form variable value enter  attachments[]
  10. In the Form variable table add the following
VariableValue
status2
priority1
subject{{issue.summary}}
description{{issue.description}}
group_id2000345 check what group id you have in your instance of freshdesk
custom_field[cf_any_name]{{issue.customfield_123455}}
custom_field[cf_any_name]{{issue.customfield_34595}}

...