Integrating Gumloop with XML Data via CData Connect AI

Yazhini G
Yazhini G
Technical Marketing Engineer
Leverage the CData Connect AI Remote MCP Server to enable Gumloop to securely access and act on XML data within automated workflows.

Gumloop is a visual automation platform designed to create AI-powered workflows by combining triggers, AI nodes, APIs, and data connectors. By integrating Gumloop with CData Connect AI through the built-in MCP (Model Context Protocol) Server, workflows can seamlessly access and interact with live XML data.

The platform provides a low-code environment, making it easier to orchestrate complex processes without heavy development effort. Its flexibility allows integration across multiple business applications, enabling end-to-end automation with live data.

This article outlines the steps required to configure XML connectivity in Connect AI, register the MCP server in Gumloop, and build a workflow that queries XML data.

Step 1: Configure XML Connectivity for Gumloop

Connectivity to XML from Gumloop is made possible through CData Connect AI's Remote MCP Server. To interact with XML data from Gumloop, we start by creating and configuring a XML connection in CData Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Select "XML" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to XML.

    Connecting to Local or Cloud-Stored (Box, Google Drive, Amazon S3, SharePoint) XML Files

    CData Drivers let you work with XML files stored locally and stored in cloud storage services like Box, Amazon S3, Google Drive, or SharePoint, right where they are.

    Setting connection properties for local files

    Set the URI property to local folder path.

    Setting connection properties for files stored in Amazon S3

    To connect to XML file(s) within Amazon S3, set the URI property to the URI of the Bucket and Folder where the intended XML files exist. In addition, at least set these properties:

    • AWSAccessKey: AWS Access Key (username)
    • AWSSecretKey: AWS Secret Key

    Setting connection properties for files stored in Box

    To connect to XML file(s) within Box, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Box.

    Dropbox

    To connect to XML file(s) within Dropbox, set the URI proprerty to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect to Dropbox. Either User Account or Service Account can be used to authenticate.

    SharePoint Online (SOAP)

    To connect to XML file(s) within SharePoint with SOAP Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. Set User, Password, and StorageBaseURL.

    SharePoint Online REST

    To connect to XML file(s) within SharePoint with REST Schema, set the URI proprerty to the URI of the document library that includes the intended XML file. StorageBaseURL is optional. If not set, the driver will use the root drive. OAuth is used to authenticate.

    Google Drive

    To connect to XML file(s) within Google Drive, set the URI property to the URI of the folder that includes the intended XML file(s). Use the OAuth authentication method to connect and set InitiateOAuth to GETANDREFRESH.

    The DataModel property is the controlling property over how your data is represented into tables and toggles the following basic configurations.

    • Document (default): Model a top-level, document view of your XML data. The data provider returns nested elements as aggregates of data.
    • FlattenedDocuments: Implicitly join nested documents and their parents into a single table.
    • Relational: Return individual, related tables from hierarchical data. The tables contain a primary key and a foreign key that links to the parent document.

    See the Modeling XML Data chapter for more information on configuring the relational representation. You will also find the sample data used in the following examples. The data includes entries for people, the cars they own, and various maintenance services performed on those cars.

  4. Click Save & Test
  5. Navigate to the Permissions tab in the Add XML Connection page and update the User-based permissions.

Add a Personal Access Token

A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Gumloop. It is best practice to create a separate PAT for each service to maintain granularity of access.

  1. Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
  2. On the Settings page, go to the Access Tokens section and click Create PAT.
  3. Give the PAT a name and click Create.
  4. The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.

With the XML connection configured and a PAT generated, Gumloop is prepared to connect to XML data through the CData MCP server.

Step 2: Connect to the MCP server in Gumloop

The MCP server endpoint and authentication values from Connect AI must be added to Gumloop credentials.

  1. Sign in to Gumloop and create an account
  2. Visit the Gumloop Credentials page to configure MCP server
  3. Click on Add Credentials and search and select MCP Server
  4. Provide the following details:
    • URL: https://mcp.cloud.cdata.com/mcp
    • Label: A descriptive name such as XML-mcp-server
    • Access Token / API Key: leave blank
    • Additional Header: Authorization: Basic YOUR EMAIL:YOUR PAT
    • Save the credentials

The MCP server is now available to build workflows in Gumloop.

Step 3: Build a workflow and explore live XML data with Gumloop

  1. Visit Gumloop Personal workspace and click on the Create Flow
  2. Select the icon or press Ctrl + B to add a node or a subflow
  3. Search for Ask AI and select it
  4. Click Show More Options and enable the Connect MCP Server? option
  5. From the MCP Servers dropdown, choose the saved MCP credential
  6. Add a Prompt and Choose an AI Model according to your requirements
  7. After configuring the required details, Click Run to run the pipeline

With the workflow run completed, Gumloop demonstrates successful retrieval of XML data through the CData Connect AI MCP server, with the MCP Client node providing the ability to ask questions, retrieve records, and perform actions on the data.

Get CData Connect AI

To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial