Glyue User Docs
  • What is Glyue?
  • Tutorials
    • Start Here
    • Building a Single-Step Integration
      • 1. Creating the Integration
      • 2. Calling the External System
      • 3. Running the Integration
      • 4. Crafting the Output
    • Building a Multi-System Integration
      • 1. Connecting to the Core
      • 2. Field Mapping
      • 3. Running the Integration
    • Building an Event-Driven Integration
      • 1. Setting up the Mock CRM
      • 2. Receiving Inbound Requests
      • 3. Triggering the Integration from the CRM
    • Building an Email Integration
      • 1. Create and Configure the Integration
      • 2. Input Validation
      • 3. Get Story IDs from Hacker News
      • 4. Get Story Content
      • 5. Sending the Email
      • 6. Wrapping Up
      • 7. Extra credit
        • extra_credit.json
    • Building a RESTful CRUD Web Service
      • 1. Integration Setup
      • 2. Vault Setup
      • 3. Create Web Service Endpoints
      • 4. Execute Web Service Endpoints with Vault Methods
      • 5. Vault Code Examples and Explanation
    • Building a Retrieval API against FIS CodeConnect
      • 1. Integration Setup
      • 2. Service Request Setup
      • 3. Field Mapping Setup
      • 4. Integration and Service Request Hook Setup
      • 5. Testing the Integration
      • 6. Common Errors
    • What is Pre-Mapping?
      • Before you start
      • Bookmarks
      • Source and Targets
      • Field Mapping Status
      • Field Mapping Comments
      • Summary
  • How-To Guides
    • How to Run an Integration from Glyue
    • How to Invite New Users
    • How to Create a Value Mapping Set
    • How to Build and Deploy a Custom Frontend
    • How to Migrate an Integration
    • How to Set Up Single Sign On (SSO)
      • Glyue Setup
      • JumpCloud Setup
      • Azure Setup
      • Okta Setup
      • Glyue SAML Config Reference
    • How to Install the Glyue App for Zoom Contact Center
    • How to use the Vault
  • Reference
    • Integration Builder Page
    • Integration Anatomy
    • Integration Components
      • Integration
      • Service Request
      • Field Mapping
      • Value Mapping Set
      • Value Mapping
      • Validation Rule
      • Mask
      • Integration Config
      • Integration Engine Versions
    • Integration Lifecycle
    • Special Functions
      • add_run_label
      • callint
      • debug
      • end
      • get_namespace
      • humanize
      • import_helper
      • keep
      • list_files
      • map_value
      • open_glyuefile
      • open_vault
      • Data Manipulation Utilities
      • calladapter
    • Special Variables
      • __adapter_config__
      • input
      • parentint
      • retvalue
      • run_history_id
      • Iterables
        • fitem/fidx
        • sritem/sridx
        • vritem/vridx/vrmsg
    • Adapters
      • Generic HTTP Adapter
      • Email SMTP Adapter
    • Web Service Endpoints
    • Vault Reference
  • Glyue Platform Reference
    • Banking Core Connectivity Guide
    • Authentication
    • Permissions
      • Service Accounts
      • Organizations
    • Frontends
    • Idempotency Layer
    • Integration Scheduler
    • Governance Reports
    • Arbitrary Integration Request Content Support
    • Admin Components
    • Logging
  • ETL
    • Glyue ETL Overview
    • Data Connectors
    • Workflows
    • Run History
    • Scheduler
Powered by GitBook
On this page

Was this helpful?

  1. Tutorials
  2. Building a Single-Step Integration

3. Running the Integration

Previous2. Calling the External SystemNext4. Crafting the Output

Last updated 8 months ago

Was this helpful?

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

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

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.

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

step 2
The Integration Runner
Run details for the integration
The generic success message in the Output