All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

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.


Prerequisites

Item
Description

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

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.

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

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.

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.

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.


Prerequisites

Item
Description

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

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.

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.

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.

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.

ITSM

Apono outbound webhooks integrations with IT Service Management tools

Active
.
  • 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.

    Starting with
    $.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 credential 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>

    Webhooks
    Webhook Payload Schema Reference
    base64-encoded authentication string
    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 }}"
      }
    }
    Active
    .
  • 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.

    Starting with
    $.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

    Registration 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

    Credential generated with a username and a password and used when making requests to the ServiceNow API.

    Authorization

    Bearer <SERVICENOW_TOKEN>

    Webhooks
    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 page

    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.


    Prerequisites

    Item
    Description

    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

    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.

    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.

    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.

    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.

    Active
    .
  • 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.

    Starting with
    $.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 credential 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>

    Webhooks
    Webhook Payload Schema Reference
    base64-encoded authentication string
    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
    }

    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.


    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.


    Prerequisites

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

    2. An 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.

    What are Jira Basic tokens?

    Read more


    Creating the 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

    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.

    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 headers required by the target system, such as an authorization header.

    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

    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.

    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 Jira based on the triggers you have selected.


    Results

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

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

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

  • 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.

    Starting with
    $.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

    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 base64 encoding.

    API token
    here
    Webhooks
    Webhook Payload Schema Reference
    troubleshoot your webhook

    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.


    Prerequisite

    {
       "fields": {
          "project": {
             "key": "<PROJECT_KEY>"
          },
          "issuetype": {
             "name": "<ISSUE_TYPE_NAME>"
          },
          "summary": "Apono request created: {{ data.friendly_id }}"
       }
    }
    Freshservice API key and copy the key to use it later

    Configure a webhook

    Follow these steps to configure a webhook:

    1. On the Webhooks 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 .

    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.

    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.

    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.


    Results

    Your webhook should now start Freshservice ticket once triggered:

    SEE HERE
    {
      "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
    }

    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.


    Prerequisite

    • and copy the API key to use it later


    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

    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

    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.

    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.

    Active
    .
  • 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 HERE.

  • 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.

    Starting with
    $.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 key
    Webhooks
    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"
            }
        }
    }