arrow-left
All pages
gitbookPowered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Freshdesk

Create Freshdesk tickets using an Apono webhook

Freshdesk is a customer support platform that helps businesses efficiently manage and resolve customer inquiries and issues. It provides tools to streamline customer service processes across various channels, such as email, phone, chat, and social media.

Through this integration, you will configure an Apono webhook that creates new tickets in Freshdesk when user access requests are created, approved, granted, and revoked, or when requests fail.


hashtag
Prerequisites

Item
Description

hashtag
Configure a webhook

Follow these steps to configure an Apono webhook:

  1. On the page, click Add Webhook. The Add Webhook page appears.

  2. Click Request Webhook.

  3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

  4. Click the Status toggle to Active

circle-exclamation

The webhook URL must adhere to the following requirements:

  • Uses the HTTPS protocol

  • Does not specify any custom ports

  1. In the Body Template field, construct a JSON body for the webhook payload.

circle-check

Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the to read the descriptions of each data field.

  1. Under Headers, use the following Key and Value to set the header. Be sure to replace <FRESHDESK_TOKEN> with a ({ base64-encoding <api_token>:X}).

Key
Value
  1. From the Triggers dropdown menu, select RequestCreated.

  2. Under Filters, define one or several filter from the listed dropdown menus.

circle-info

Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

Examples:

  • Send only production requests to your admins' Slack channel.

  • Trigger Okta workflows for events from specific integrations or resource types.

  1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

  2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

    1. Click + Add. A row of settings appears.

    2. Starting with

circle-check

For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

Should your test fail, view these tips to .

  1. Click Save Webhook.

The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

Apono will send a call to Freshdesk to create a new ticket when the RequestCreated event is triggered.

.
  • From the Method dropdown menu, select a REST method.

  • For the webhook URL, enter https://<SUBDOMAIN>.freshdesk.com/api/v2/tickets. Be sure to replace <SUBDOMAIN> with the Freshdesk subdomain for your account.

  • Open a ticket in Jira or ServiceNow for manually approved requests.

    $.data.
    , enter the
    Json Path
    of the JSON parameter.
  • In the Expected Values field, enter a value and press the Enter key on your keyboard.

  • Repeat step c to add several expected values.

  • Repeat steps a-d to add multiple response validators.

  • Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

  • Freshdesk API Token

    Authentication credentialarrow-up-right used when making requests to the Freshdesk API Follow the steps to generate an API token:

    1. Log in to your Freshdesk account.

    2. Click your profile picture > Profile settings

    3. Click View API key.

    Freshdesk API URL

    Route for creating a ticket in your Freshdesk instance Example: https://<SUBDOMAIN>.freshdesk.com/api/v2/tickets

    Authorization

    Basic <FRESHDESK_TOKEN>

    Webhooksarrow-up-right
    Webhook Payload Schema Reference
    base64-encoded authentication stringarrow-up-right
    troubleshoot your webhook
    {
      "description": "{ "event_type": "{{ event_type }}", "event_time": "{{ event_time }}", "id": "{{ data.id }}", "friendly_id": "{{ data.friendly_id }}", "requester_id": "{{ data.requester.id }}", "requester_name": "{{ data.requester.name }}", "requester_email": "{{ data.requester.email }}", "justification": "{{ data.justification }}", "creation_date": "{{ data.creation_date }}", "access_flow_id": "{{ data.access_flow.id }}", "access_flow_name": "{{ data.access_flow.name }}", "access_bundle_id": "{{ data.access_bundle.id }}", "access_bundle_name": "{{ data.access_bundle.id }}", "access_groups_integration_name": "{{ data.access_groups.[0].integration.name }}", "access_groups_integration_type": "{{ data.access_groups.[0].integration.type }}" }",
      "subject": "apono - {{ event_type }}",
      "email": "{{ data.requester.email }}",
      "priority": 1,
      "status": 2
    }

    ITSM

    Apono outbound webhooks integrations with IT Service Management tools

    Zendesk

    Create Zendesk tickets using an Apono webhook

    Zendesk is a customer service platform offering tools designed to improve customer engagement and support. It allows businesses to manage customer interactions across multiple channels, including email, social media, and chat.

    Through this integration, you will configure an Apono webhook that creates new tickets in Zendesk when user access requests are created, approved, granted, and revoked, or when requests fail.


    hashtag
    Prerequisites

    Item
    Description

    hashtag
    Configure a webhook

    Follow these steps to configure an Apono webhook:

    1. On the page, click Add Webhook. The Add Webhook page appears.

    2. Click Request Webhook.

    3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

    4. Click the Status toggle to Active

    circle-exclamation

    The webhook URL must adhere to the following requirements:

    • Uses the HTTPS protocol

    • Does not specify any custom ports

    1. In the Body Template field, construct a JSON body for the webhook payload.

    circle-check

    Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the to read the descriptions of each data field.

    1. Under Headers, use the following Key and Value to set the header. Be sure to replace <ZENDESK_TOKEN> with a .

    Key
    Value
    1. From the Triggers dropdown menu, select RequestCreated.

    2. Under Filters, define one or several filter from the listed dropdown menus.

    circle-info

    Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

    Examples:

    • Send only production requests to your admins' Slack channel.

    • Trigger Okta workflows for events from specific integrations or resource types.

    1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

    2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

      1. Click + Add. A row of settings appears.

      2. Starting with

    circle-check

    For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

    Should your test fail, view these tips to .

    1. Click Save Webhook.

    The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

    Apono will send a call to Zendesk to create a new ticket when the RequestCreated event is triggered.

    .
  • From the Method dropdown menu, select a REST method.

  • In the URL field, enter https://<SUBDOMAIN.zendesk.com/api/v2/tickets. Be sure to replace <SUBDOMAIN> with the Zendesk subdomain for your account.

  • Open a ticket in Jira or ServiceNow for manually approved requests.

    $.data.
    , enter the
    Json Path
    of the JSON parameter.
  • In the Expected Values field, enter a value and press the Enter key on your keyboard.

  • Repeat step c to add several expected values.

  • Repeat steps a-d to add multiple response validators.

  • Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

  • Zendesk API Token

    Authentication credentialarrow-up-right used when making requests to the Zendesk API Follow the steps to generate an API token:

    1. Log in to Zendesk Admin Center.

    2. Click Apps and Integrations > Zendesk API > Add API Token.

    Zendesk API URL

    Route for creating a ticket in your Zendesk instance Example: https://<YOURDOMAIN>.zendesk.com/api/v2/tickets

    Authorization

    Bearer <ZENDESK_TOKEN>

    Webhooksarrow-up-right
    Webhook Payload Schema Reference
    base64-encoded authentication stringarrow-up-right
    troubleshoot your webhook
    {
      "ticket": {
        "comment": {
          "body": "{ "event_type": "{{ event_type }}", "id": "{{ data.id }}", "friendly_id": "{{ data.friendly_id }}", "requester_id": "{{ data.requester.id }}", "requester_name": "{{ data.requester.name }}", "requester_email": "{{ data.requester.email }}", "justification": "{{ data.justification }}", "creation_date": "{{ data.creation_date }}", "access_flow_id": "{{ data.access_flow.id }}", "access_flow_name": "{{ data.access_flow.name }}", "access_bundle_id": "{{ data.access_bundle.id }}", "access_bundle_name": "{{ data.access_bundle.id }}", "access_groups_integration_name": "{{ data.access_groups.[0].integration.name }}", "access_groups_integration_type": "{{ data.access_groups.[0].integration.type }}" }"
        },
        "priority": "normal",
        "description": "{{ data.justification }}",
        "subject": "apono app - {{ event_type }} - {{ data.friendly_id }}"
      }
    }

    Jira

    Create an outgoing webhook in Apono that will allow to automatically create issues in Jira from Apono access requests

    The steps below describe how to create an outgoing webhook in Apono that will allow to automatically create issues in Jira from Apono access requests.


    hashtag
    Create Jira ticket triggered by Apono webhook

    You can automatically create and resolve issues in Jira via outgoing webhooks. This guide provides example webhook configurations for common use cases, as well as information on how to set up a user in Jira to be used by Apono.


    hashtag
    Prerequisites
    1. A user in Jira to be used by Apono. You'll need the user's email address.

    2. An API tokenarrow-up-right for this user. These credentials will be used to communicate with Jira REST API.

    3. Make sure the user has appropriate permissions to create and update issues in Jira.

    circle-info

    What are Jira Basic tokens?

    Read more herearrow-up-right


    hashtag
    Creating the webhook

    Follow these steps to configure an Apono webhook:

    1. On the Webhooksarrow-up-right page, click Add Webhook. The Add Webhook page appears.

    2. Click Request Webhook.

    3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

    4. Click the Status toggle to Active.

    5. From the Method dropdown menu, select a REST method.

    6. In the URL field, enter https://<DOMAIN>.atlassian.net/rest/api/3/issue. Be sure to replace <DOMAIN> with your Jira domain.

    circle-exclamation

    The webhook URL must adhere to the following requirements:

    • Uses the HTTPS protocol

    • Does not specify any custom ports

    1. In the Body Template field, construct a JSON body for the webhook payload.

    circle-check

    Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the Webhook Payload Schema Reference to read the descriptions of each data field.

    1. Under Headers, use the following Key and Value to set the headers required by the target system, such as an authorization header.

    Key
    Value

    Authorization

    Basic <USERNAME:TOKEN> The username is the user's email and token is the personal API token required in Prerequisites 1 and 2. <USERNAME:TOKEN> must be supplied in .

    1. From the Triggers dropdown menu, select one or more of the following event triggers, which correspond to Apono access request statuses:

      • RequestCreated

      • RequestApproved

      • RequestExpired

      • RequestFailed

      • RequestGranted

      • RequestRejected

    2. Under Filters, define one or several filter from the listed dropdown menus.

    circle-info

    Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

    Examples:

    • Send only production requests to your admins' Slack channel.

    • Trigger Okta workflows for events from specific integrations or resource types.

    • Open a ticket in Jira or ServiceNow for manually approved requests.

    1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

    2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

      1. Click + Add. A row of settings appears.

      2. Starting with $.data., enter the Json Path of the JSON parameter.

      3. In the Expected Values field, enter a value and press the Enter key on your keyboard.

      4. Repeat step c to add several expected values.

      5. Repeat steps a-d to add multiple response validators.

    3. Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

    circle-check

    For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

    Should your test fail, view these tips to troubleshoot your webhook.

    1. Click Save Webhook.

    The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

    Apono access request logs will be sent to Jira based on the triggers you have selected.


    hashtag
    Results

    Your webhook should now start creating Jira tickets in the relevant project once triggered:

    ServiceDesk Plus

    Create ServiceDesk Plus request using an Apono webhook

    ServiceDesk Plus is ManageEngine's flagship IT and enterprise service management platform that helps modern enterprises design and deliver critical IT and business services.

    Through this integration, you will configure an Apono webhook that creates new request in ServiceDesk Plus when user access requests are created, approved, granted, and revoked, or when requests fail.


    hashtag
    Prerequisite

    • and copy the API key to use it later


    hashtag
    Configure a webhook

    Follow these steps to configure a webhook:

    1. On the page, click Add Webhook. The Add Webhook page appears.

    2. Click Request Webhook.

    3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

    4. Click the Status toggle to Active

    circle-check

    Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the to read the descriptions of each data field.

    1. For Headers, use the following Key and Value to set the authorization.

    Key
    Value
    1. From the Triggers dropdown menu, select one or more of the following event triggers, which correspond to Apono access request statuses:

      • RequestCreated

      • RequestApproved

      • RequestExpired

    circle-info

    Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

    Examples:

    • Send only production requests to your admins' Slack channel.

    • Trigger Okta workflows for events from specific integrations or resource types.

    1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

    2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

      1. Click + Add. A row of settings appears.

      2. Starting with

    circle-check

    For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

    Should your test fail, view these tips to .

    1. Click Save Webhook.

    The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

    Apono access request will be created on ServiceDesk Plus based on the triggers you have selected.

    Freshservice

    Create Freshservice tickets using an Apono webhook

    Freshservice is an AI-powered, unified IT and employee service management solution that is simple to use and easy to scale. It provides the capabilities required for managing IT services and extends to non-IT teams as well.

    Through this integration, you will configure an Apono webhook that creates new tickets in Freshservice when user access requests are created, approved, granted, and revoked, or when requests fail.


    hashtag
    Prerequisite

    {
       "fields": {
          "project": {
             "key": "<PROJECT_KEY>"
          },
          "issuetype": {
             "name": "<ISSUE_TYPE_NAME>"
          },
          "summary": "Apono request created: {{ data.friendly_id }}"
       }
    }
    .
  • From the Method dropdown menu, select POST.

  • For the webhook URL, enter http://<SERVER-NAME>:<PORT>/api/v3/requests

  • The Body Template field expects a JSON structure as appears below. For the full JSON scheme for creating a ticket SEE HEREarrow-up-right.

  • RequestFailed

  • RequestGranted

  • RequestRejected

  • Under Filters, define one or several filter from the listed dropdown menus.

  • Open a ticket in Jira or ServiceNow for manually approved requests.

    $.data.
    , enter the
    Json Path
    of the JSON parameter.
  • In the Expected Values field, enter a value and press the Enter key on your keyboard.

  • Repeat step c to add several expected values.

  • Repeat steps a-d to add multiple response validators.

  • Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

  • Authorization

    authtoken <API-KEY>

    ServiceDesk Plus API keyarrow-up-right
    Webhooksarrow-up-right
    Webhook Payload Schema Reference
    troubleshoot your webhook
    {
        "request": {
            "subject": "New {{event_type}} request",
            "description": "New {{event_type}} request made by {{data.requester.name}}",
            "requester": {
                "id": "{{data.requester.id}}",
                "name": "{{data.requester.name}}"
            },
            "impact_details": "{{event_type}} request",
            "status": {
                "name": "Open"
            }
        }
    }
    Freshservice API keyarrow-up-right and copy the key to use it later

    hashtag
    Configure a webhook

    Follow these steps to configure a webhook:

    1. On the Webhooksarrow-up-right page, click Add Webhook. The Add Webhook page appears.

    2. Click Request Webhook.

    3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

    4. Click the Status toggle to Active.

    5. From the Method dropdown menu, select POST.

    6. For the webhook URL, enter https://<DOMAIN>.freshdesk.com/api/v2/tickets.

    7. The Body Template field expects a JSON structure as appears below. For the full JSON scheme for creating a ticket .

    circle-check

    Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the Webhook Payload Schema Reference to read the descriptions of each data field.

    1. For Headers, use the following Key and Value to set the authorization.

    Key
    Value

    Authorization

    Basic <BASE-64-API-KEY>

    1. From the Triggers dropdown menu, select RequestCreated.

    2. Under Filters, define one or several filter from the listed dropdown menus.

    circle-info

    Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

    Examples:

    • Send only production requests to your admins' Slack channel.

    • Trigger Okta workflows for events from specific integrations or resource types.

    • Open a ticket in Jira or ServiceNow for manually approved requests.

    1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

    2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

      1. Click + Add. A row of settings appears.

      2. Starting with $.data., enter the Json Path of the JSON parameter.

      3. In the Expected Values field, enter a value and press the Enter key on your keyboard.

      4. Repeat step c to add several expected values.

      5. Repeat steps a-d to add multiple response validators.

    3. Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

    circle-check

    For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

    Should your test fail, view these tips to troubleshoot your webhook.

    1. Click Save Webhook.

    The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

    Apono will send a call to Freshservice to create a new ticket when the RequestCreated event is triggered.


    hashtag
    Results

    Your webhook should now start Freshservice ticket once triggered:

    base64 encodingarrow-up-right
    SEE HEREarrow-up-right
    {
      "email": "{{data.requester.email}}",
      "subject": "New {{event_type}} made by {{data.requester.name}}",
      "description": "New {{event_type}} made by {{data.requester.name}}",
      "priority": 1,
      "status": 2
    }

    ServiceNow

    Send logs to ServiceNow triggered by Apono Access events

    ServiceNow is a cloud-based platform that provides IT service management (ITSM) and business process automation tools. It enables organizations to streamline and automate various workflows, such as IT operations, customer service, and HR.


    hashtag
    Prerequisites

    Item
    Description

    hashtag
    Configure a webhook

    Follow these steps to configure a ServiceNow webhook:

    1. On the page, click Add Webhook. The Add Webhook page appears.

    2. Click Request Webhook.

    3. Enter a unique, alphanumeric, user-friendly Request Webhook Name for identifying this webhook.

    4. Click the Status toggle to Active

    circle-exclamation

    The webhook URL must adhere to the following requirements:

    • Uses the HTTPS protocol

    • Does not specify any custom ports

    1. In the Body Template field, construct a JSON body for the webhook payload.

    circle-check

    Click View event's payload schema to reveal the payload schema and available data fields. You can also refer to the to read the descriptions of each data field.

    1. Under Headers, use the following Key and Value to set the header. Be sure to replace <SERVICENOW_TOKEN> with the ServiceNow API token.

    Key
    Value
    1. From the Triggers dropdown menu, select one or more of the following event triggers, which correspond to Apono access request statuses:

      • RequestCreated

      • RequestApproved

      • RequestExpired

    circle-info

    Filters empower admins to control the data transmitted via webhooks, minimizing the amount of data third-party tools receive and reducing unnecessary clutter.

    Examples:

    • Send only production requests to your admins' Slack channel.

    • Trigger Okta workflows for events from specific integrations or resource types.

    1. (Optional) In the Timeout in seconds field, enter the duration in seconds to wait before marking the request as failed.

    2. (Optional) Define Response Validators to verify that the response from the webhook meets specified criteria:

      1. Click + Add. A row of settings appears.

      2. Starting with

    circle-check

    For more information about the test, click View Invocation Data. A panel opens revealing the request, response, and other relevant details.

    Should your test fail, view these tips to .

    1. Click Save Webhook.

    The new webhook appears in the Webhooks table. Active webhooks are preceded by a green dot. Inactive webhooks are preceded by a white dot.

    Apono access request logs will be sent to ServiceNow based on the triggers you have selected.

    .
  • From the Method dropdown menu, select a REST method.

  • In the URL field, enter https://<SERVICENOW_INSTANCE_ID>.service-now.com/api/now/table/incident. Be sure to replace <SERVICENOW_INSTANCE_ID> with the instance ID.

  • RequestFailed

  • RequestGranted

  • RequestRejected

  • Under Filters, define one or several filter from the listed dropdown menus.

  • Open a ticket in Jira or ServiceNow for manually approved requests.

    $.data.
    , enter the
    Json Path
    of the JSON parameter.
  • In the Expected Values field, enter a value and press the Enter key on your keyboard.

  • Repeat step c to add several expected values.

  • Repeat steps a-d to add multiple response validators.

  • Click Test to generate a test event to trigger your webhook. A Test successful or Test failed response status will appear at the bottom of the page. A successful test will send mock data to the target system.

  • ServiceNow Account

    Account with the Administrator role

    ServiceNow Application Registration

    Registrationarrow-up-right that enables Apono to use OAuth authorization Be sure to copy the client_id and client_secret. You will use these values to generate the ServiceNow API token.

    ServiceNow Information

    Information for the ServiceNow instance:

    • Instance ID

    • Username

    • Password

    Follow these steps to retrieve the ServiceName information:

    1. On the , click your account icon > Manage instance password. The Manage instance password popup window appears.

    2. Copy the Instance name, Username, and Password.

    ServiceNow API token

    Credentialarrow-up-right generated with a username and a password and used when making requests to the ServiceNow API.

    Authorization

    Bearer <SERVICENOW_TOKEN>

    Webhooksarrow-up-right
    Webhook Payload Schema Reference
    troubleshoot your webhook
    {
      "caused_by": "{{ data.requester.name }}",
      "short_description": "{{ data.access_groups.[0].integration.name }}",
      "cause": "{{ event_type }}",
      "description": "{ "event_type": "{{ event_type }}", "event_time": "{{ event_time }}", "id": "{{ data.id }}", "friendly_id": "{{ data.friendly_id }}", "requester_id": "{{ data.requester.id }}", "requester_name": "{{ data.requester.name }}", "requester_email": "{{ data.requester.email }}", "justification": "{{ data.justification }}", "creation_date": "{{ data.creation_date }}", "access_flow_id": "{{ data.access_flow.id }}", "access_flow_name": "{{ data.access_flow.name }}", "access_bundle_id": "{{ data.access_bundle.id }}", "access_bundle_name": "{{ data.access_bundle.id }}", "access_groups_integration_name": "{{ data.access_groups.[0].integration.name }}", "access_groups_integration_type": "{{ data.access_groups.[0].integration.type }}" }",
      "reopened_by": "apono app"
    }
    ServiceNow Developers home pagearrow-up-right