I have received a couple of inquiries on how GraphQL Queries can be executed from AgilePoint NX Process and eForms. This article will go in-depth into how to configure a GraphQL Query using AgilePoint.


However, before I begin, lets first understand what is GraphQL


GraphQL is an open-source query language for your APIs with a service-side runtime for executing the queries based on a pre-defined schema. It is not tied to any specific database but rather backed by your existing code and data.


  • A GraphQL API is different from a REST API in that it allows the client application to query for certain fields of resources. Send a GraphQL query to your API and get exactly what you need, like the name of a user and only receive that data.


  • GraphQL APIs get all the data a client needs in a single request.


  • It replaces multiple REST requests with a single call to fetch the data you specify.


  • Provides an abstraction layer to the client, which means that clients do not need to query multiple URLs to access different data.


When an HTTP GraphQL request is made with a query, the GraphQL server parses the query and responds back with data usually in a specific JSON format. There can also be variables in a query that makes it more powerful and dynamic. In GraphQL, the HTTP verb is predominantly POST but there can be implementations where Query & Variables are sent in URL encoded query parameters in the URL. I have used Microsoft Graph API endpoint and SpaceX endpoint to call GraphQL queries using AgilePoint NX process and forms.


Call A GraphQL Query Using AgilePoint:


REST connector in AgilePoint NX can be used to call a GraphQL query-based API. Though it is labeled as REST API connector for ease of understanding as this is a major use case, in reality, it is a more generic HTTP connector and can call an HTTP service. I am leveraging that feature to configure GraphQL Query.


Let's look at this in action in the following video.

By Sharjeel Sohaib 31 Oct, 2023
Low-Code development platforms: Five must-have capabilities you need to know about
By Arjun Jamnadass 27 Jul, 2023
Unlock ultimate agility with codeless architecture. Seamlessly integrate our codeless platforms for sustained innovation, business agility, and reduced technical debt. Learn more with AgilePoint.
Codeless vs. Low Code
By Arjun Jamnadass 26 Jul, 2023
Arjun Jamnadass elaborates on how codeless architecture differentiates from low-code no-code platforms, and what it means for application development.
More Posts

Are you ready to reengineer your business
automation processes?

Share by: