Add an Xtension to Nintex Automation Cloud

  A developer or administrator role is required. For information, see User roles.

Add an Xtension A set of instructions for Nintex Automation Cloud to use third-party API functionality with Nintex workflows. An Xtension may include workflow actions, start events, forms or file control. to connect a new service or data source to your tenancy.

Summary

To add a Xtension, you must import a definition for the Xtension into Nintex Automation Cloud. You can either upload the file directly, or import from a publicly available URL that points to an OpenAPI Specification A standard, language-agnostic description of RESTful APIs that can be read by both humans and machines. Formerly known as Swagger..

Looking to upload a product or service's published OpenAPI Specification? See Import a third-party specification.

For this example, we have created a URL for you to import. The Airport-Data API retrieves information about an airport when given the airport's three-letter airport code. You will create the Xtension for the API and then build a basic workflow using the custom action A task that can be performed or triggered within a workflow, such as moving a file, sending an email, or using third-party API functionality. that emails travelers information about the airport they are due to arrive at.

Create and use the example Xtension

Step 1: Import the Xtension into Nintex Automation Cloud

  1. Open your Nintex Automation Cloud tenancy.
  2. Click Xtensions in the dashboard to open the Xtensions page.
  3. Click   in the Private connector list.
  4. Right-click and copy the following URL into the OpenAPI Specification URL: OpenAPI.json
    If you're using a mobile device, copy the following link: https://raw.githubusercontent.com/sdknintex/Xtensions_examples/master/Airport/1.Airport%20Data.None.json
  5. Wait for Nintex Automation Cloud to validate the file.
  6. Click Next.
  7. The Xtension does not use authorization Identifying the requestor of the API using techniques such as a username and password, an API key, or OAuth2.0., so click Next.
  8. Edit the Name of the Xtension. The Xtension name is used as the name of the action group in the Workflow designer.
  9. Note: Xtension names must not include any of the following characters: < > " ' ` \ / { } [ ] % $ # * ^ ! @ ~ ? = , ;

  10. Edit the Description of the Xtension. The description appears in the Private connector list in the Xtensions page.

    Note: Xtension descriptions must not include any of the following characters: < > " [ ] % ;

  11. Select or upload an icon for the Xtension. The icon is displayed with each action or event in the Workflow designer

    Note: Note: You can download the icon we used in the examples here.

  12. Click Publish.

Step 2: Create a workflow with the custom action

  1. Click Create workflow in your Nintex Automation Cloud tenancy.
  2. Configure the Start event to be a Nintex form with three text variables:
    • First Name
    • Email
    • Airport code

    For more information on designing forms in Nintex Automation Cloud, see Design a form.

  3. Scroll down the action toolbox to find the new Airport Data Xtension.
  4. Drag the Get airport info action after the Start event.
  5. Configure the Iata field to use the Airport code variable from the public web form.
  6. Create a text variable for each of the result fields:
    • Airport Name
    • Location
    • Country

  7. Drag a Send an email action after the Get airport info action.
    For more information on the send an email action, see Send an email.
  8. Configure the Recipient email address field to use the Email variable from the public web form.
  9. Configure the Subject field to say Departure information.
  10. Configure the Message body field to supply the airport name, location and country.
  11. Click Test to test the workflow.
  12. Save or publish the workflow.

For more information on creating workflows, see the Workflow Designer.