Experience the power

Highlights

Plenty of ways to benefit from Gato GraphQL

Free plugin
Gato GraphQL logo

GraphQL Server

Gato GraphQL provides a GraphQL server, that allows you to use the popular GraphQL API in your WordPress site.

Provide a GraphQL query, and execute it against the server to retrieve exactly the data needed to power your WordPress themes, plugins, blocks and applications.

We use the GraphiQL client to compose and execute GraphQL queries. The GraphQL server processes the query, and gives a response with the requested data.
Free plugin
Gato GraphQL logo

Clients

Several clients are included to interact with the GraphQL server.

The Interactive Schema client allows you to visualize the GraphQL schema, to explore and understand how all data entities relate to each other.

The GraphiQL client allows you to visually compose GraphQL queries and execute them against the server, and browse the schema's documentation.

Visualizing the GraphQL schema with the Interactive Schema client.
Free plugin
Gato GraphQL logo

Persisted Queries

Persisted queries combine all the benefits from GraphQL and REST APIs. Use the GraphQL language to compose the query directly from the wp-admin, and publish it under its own endpoint URL, similar to a REST endpoint.

Then access the endpoint URL in your application to retrieve the data. Since the response is predefined, visitors won't be able to freely query your data, making your application more secure.

We create a persisted query, and access its data directly in the browser.
Free plugin
Gato GraphQL logo

Public, Private & Password-Protected Endpoints

In addition to exposing the GraphQL single endpoint, Gato GraphQL allows you to create custom endpoints, which you can set as private —to be accessed within the wp-admin only—, and protect them with a password —to be accessed by a specific stakeholder, such as a customer—.

We create a custom endpoint and make it password-protected. When accessing its GraphiQL client, a prompt requests the password. Only after the password has been provided can the GraphiQL client, and the GraphQL endpoint, be accessed.
Free plugin
Gato GraphQL logo

Composability

Gato GraphQL gives you the ability to compose fields —where the value of a field can be provided as input to another field in the same query— and compose directives —where a directive can modify the behavior of another directive—.

Composability means that a foundational set of field and directive resolvers are enough to cover an unlimited number of use cases, reducing the need to provide bespoke PHP code for custom functionality.

We avoid coding a custom `Post.isNotEmptyExcerpt` field by combining fields `Post.rawExcerpt`, `_isEmpty` and `_not`.
PRO plugin
Gato GraphQL logo

Multiple Query Execution

Multiple query execution combines multiple GraphQL queries together and executes them as a single operation. Queries in the document can share state with each other, and be conditionally executed depending on the value of some variable.

This feature improves the performance of the application, as it avoids the latency from waiting for the response from executing multiple requests, and allows you to organize your GraphQL queries into logical units.

We duplicate a post by exporting the post's data in a first query, and then creating another post with that data in a subsequent mutation.
PRO plugin
Gato GraphQL logo

Bulk Search & Replace

Execute a GraphQL query to search and replace a string in all posts in your site, also using regular expressions to match string patterns.

You will be able to replace the domain after a site migration, update links to pages after changing their slug, modify all image URLs after introducing a CDN, remove CSS styles hardcoded in HTML code, add missing links, and much more.

All links to the Contact page in the site are updated, after its slug was changed from `contact` to `contact-us`.
PRO plugin
Gato GraphQL logo

Content Translation

Connect to the Google Translate API within the GraphQL query, and translate content to over 130 languages, with support for the Gutenberg editor, the Classic editor, and page builders.

The GraphQL query sends all strings to translate in a single request to Google Translate, making the translation as accurate as possible. Then keep editing the post within the WordPress editor.

A Gutenberg post is translated from English to Spanish, and then reviewed and edited once again within the WordPress editor.
PRO plugin
Gato GraphQL logo

Connecting to External Services

Retrieve data from, and post data to, any external service that offers an API, using fields designed for generic APIs, REST APIs, and GraphQL APIs.

Interact with popular services, including Notion, AirTable, GitHub, Mailchimp, Zapier, OpenAI, ConvertKit, and many more.

A copy of the website users' emails is sent to AirTable.
PRO plugin
Gato GraphQL logo

Content Sync and Distribution

Synchronize and distribute content across multiple WordPress sites —whether within a multisite or across independent sites—, and also include non-WordPress sites that offer an API.

Copy posts to a staging site and back to a production site, distribute articles from a single source of truth of content, have 3rd-party workers review your content without giving them access to your backend, and more.

A post is copied to a staging site, from where it can be reviewed by a 3rd-party editor.
PRO plugin
Gato GraphQL logo

Content Import/Export

Import posts from another WordPress site, or from any non-WordPress site or service that offers an API. Several data formats are supported, including JSON, XML, and CSV, allowing you to also import posts from an RSS feed, from Excel, and from Google Sheets.

Similarly, export posts into another WordPress site, or into any non-WordPress site or service that offers an API, such as Notion or AirTable.

A post is replicated locally from the RSS feed of another WordPress site.
PRO plugin
Gato GraphQL logo

Bulk Post Creation using Templates

Create posts in bulk based on a template and a data source. The template can include content of any type, including Gutenberg blocks, the Classic editor, or any page builder.

Provide a template for the content of the post containing variables for dynamic data, and a source with data —such as a CSV input, or a JSON dictionary—. Then execute a GraphQL query to merge them and dynamically create the posts.

Creating posts for a photography portfolio site, by providing a JSON dictionary with the labels and URLs of the photos to embed.
PRO plugin
Gato GraphQL logo

Automation

Use GraphQL to automate tasks and content workflows in your site, by executing a persisted query for the corresponding task, triggered via WP-Cron or WordPress action hooks.

You can automatically generate an image for posts without thumbnail, add mandatory blocks to new posts, send a notification email when there is a new comment, translate a post to multiple languages and distribute them to translation sites, and more.

Whenever there is a new post on the site, the persisted query checks if the post has the mandatory Comments block and, if it does not, adds it automatically.
PRO plugin
Gato GraphQL logo

Webhooks

Receive and process incoming data from any service via customized webhooks, published directly within the wp-admin. Any event generated by an external service can be processed by your WordPress site via a suitable persisted query.

React to events such as incoming messages from Slack, deployments on Netlify, merged pull requests on GitHub, purchased items on ConvertKit, and more.

A webhook registers in AirTable a newsletter subscription from InstaWP.
Never miss an update

Stay connected with us

Find out about our latest product updates as we continue improving Gato GraphQL.