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
  • active
  • path_name
  • description
  • http_api
  • run_async
  • Lifecycle Hooks
  • before_hook
  • on_failure_hook
  • on_success_hook
  • finally_hook
  • Swagger

Was this helpful?

  1. Reference
  2. Integration Components

Integration

PreviousIntegration ComponentsNextService Request

Last updated 4 months ago

Was this helpful?

active

boolean - required

Defines whether the integration can be run at all. If set to false , the integration cannot be run via an HTTP request (regardless of the value of http_api), and the integration cannot be run via .

path_name

string - required

The exposed endpoint for the integration. Integrations are called from {host}/integrations/execute/{path_name}

description

Documentation field providing an overview of the integrations functions.

http_api

boolean - required

Determines whether or not an integration can be run via an HTTP request over the web.

When enabled, the integration can be called from {host}/integrations/execute/{path_name} or any configured .

When disabled, the integration can only be called from another Glyue integration, via the.

run_async

boolean - required

Controls whether to run the integration synchronously. If true , Glyue will immediately return a 200 response without waiting for the integration to finish executing.

Useful for long-runnings tasks that may otherwise cause timeouts on clients, or in combination with callint to spawn additional processes.

Lifecycle Hooks

before_hook

expression - optional

A block of code that executes prior to the initialization of the integration.

on_failure_hook

expression - optional

A block of code that runs only upon an integration failure, prior to the finally hook.

on_success_hook

expression - optional

A block of code that runs only upon a successfully completed integration, prior to the finally hook.

finally_hook

expression - optional

A block of code that executes prior to the completion of an integration. This block will always run regardless of integration status.

Swagger

swagger_request

{ "content": {
    "application/json": {
        "schema": {
            "type": "string", 
            "example": "sample string input" 
            } 
        } 
    } 
}

swagger_response

The input is scoped to the responses on the OAS 3 specification.

{ "200": {
     "description": "Sample Response", 
     "content": { 
           "application/json": { 
                "schema": {
                     "type": "string", 
                     "example": 
                     "Example Object" 
                     }
                }
           }
      } 
}

For a visual explanation of the timing of these hooks, see the .

Glyue has an integrated swagger page to allow for easy endpoint execution from within Glyue. The swagger request and response fields allow for the specification of swagger request bodies and sample responses. These must be formatted in line with the . Swagger

- This field is scoped to the requestBody of the OAS 3 specification

OpenAPI Specification
Swagger Request Body
webservice endpoints
Integration Lifecycle diagram
the callint function
callint function