Bulk IP Address Allocation (Netbox) - JSON Form
  • 18 Oct 2024
  • Dark
    Light
  • PDF

Bulk IP Address Allocation (Netbox) - JSON Form

  • Dark
    Light
  • PDF

Article summary

JSON%20Forms

Next we will build the JSON Form that will be used to gather the inputs needed for the automation.  For this exercise, you will need the IP Request spread sheet available from the attachments section at the bottom of this article.

JSON Form Video

Step 1

From the Automation Studio homepage, click the + to open the Create window. 

Step 2

From the dropdown, select JSON Form. Name the form Lab-Netbox Form - XX (XX represent your initials) and click Create

Step 3

JSON Forms utilize a drag and drop interface.  Click to expand the Form Elements menu in the right navigation panel.  There are 7 types of form fields, or elements, to choose from.  Our form will use one element, File Upload, in order to submit our information.   Click and drag a File Upload form element to the canvas where you see the text Drop elements here. When the element reaches the canvas, a red box will appear indicating where the element will be placed.

Step 4

Once the element has been added to the form, an ellipses icon will appear in the top-right corner.   Hover your cursor over the ellipses icon and a gear icon will appear.  Click the gear icon to open the configuration window.

Step 5

For the label, enter IP Request.  We would like this field to be required, so we select the Yes radio button.   Click Save.  The File Upload element has been configured.

Step 6

Save the form.  We would like to preview our form to see the format of our outgoing data.  Click the Preview button.

Step 7

Locate the IP Request spreadsheet that was previously downloaded and upload it to the form.   Click Show Form Data.

We know that users will be submitting data using our form, but when doing so, the values are not sent to the workflow individually as our workflow currently expects, they are sent in as a single variable, called formData. We will need to pull the spreadsheet data out of this form input as the first step of our workflow.



Attachments

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.