3. Running the Integration

Run the Integration

Now we have finished building our integration and we are ready to run it and see the results.

Return to the "Integration" level of the Build page by using the Component dropdown in the top-left corner. Right-click on the integration we just made, and click Run Integration. This will open the Integration Runner.

The Integration Runner

The Integration Runner has many options for customizing the input to an integration, which can be useful when mimicking the request from an external system. For now, we will leave all the fields empty.

Run the integration by clicking the Execute button on the bottom-left.

You should see a green success message in the bottom-right of your screen.

If you receive an error, double check that the field mappings in step 2 were entered correctly.

View the Results

To view the results of our integration run, navigate to the Run History page using the navigation sidebar along the left.

You should see an entry in the left-side column corresponding to the name of the integration we just built. Open it by clicking on it, then click on the Step labeled "REQUEST".

Run details for the integration

In the detail pane on the right side, you will see two sections:

  • Request, which reflects the values of the field mappings we created in step 2

  • Response, which contains the response sent back to us by randomuser.me

Verify that the response object in the payload contains fields that relate to a person. Take note of the structure, specifically that the payload contains a field named results, which contains a list of objects, each representing a person. It should resemble the example below:

{
    "success": true,
    "payload": {
        "results": [
            {
                "gender": "female",
                "name": {
                    "title": "Miss",
                    "first": "Marte",
                    "last": "Hanssen"
                },
                "location": {
                    "street": {
                        "number": 3519,
                        "name": "Trasoppveien"
                    },
                    "city": "Kyrkstera",
                    "state": "Trndelag",
                    "country": "Norway",
                    "postcode": "5590",
                    
                },
                "email": "marte.hanssen@example.com",
                "dob": {
                    "date": "1948-03-02T07:02:33.244Z",
                    "age": 76
                },
                "registered": {
                    "date": "2002-11-07T07:03:35.787Z",
                    "age": 21
                },
                "phone": "56531940",
                "cell": "41662594",
                "id": {
                    "name": "FN",
                    "value": "02034819494"
                },
            }
        ]
}

Finally, click on the step labeled OUTPUT. Notice that it currently contains a generic message noting the integration completed successfully.

The generic success message in the Output

Last updated