Frequently Asked Questions

Content Modeling in Hygraph

What is content modeling in Hygraph, and why is it important?

Content modeling in Hygraph is the process of defining the structure of your content by identifying object domains (such as Books, Authors, Genres) and their attributes (like title, ISBN, price). This ensures your schema is structured, scalable, and straightforward for both editors and developers. The process starts with research and stakeholder interviews, then moves to building a domain model and translating it into a Hygraph schema. Note: Content modeling requires ongoing iteration as business needs evolve; complex business logic or highly custom workflows may require additional configuration outside of Hygraph's core modeling tools.

How do I translate a domain model into a Hygraph schema?

In Hygraph, object domains become models (e.g., Book, Author, Genre), and attributes become fields (e.g., title, ISBN, price). Relationships between objects are represented as reference fields. For example, a Book model might include references to Author and Genre models, and a Promotion component can be reused across models. Note: Only customer-facing content domains should be included in your schema; operational domains like employee management or suppliers are typically excluded from the content model.

What are the recommended steps for building a content model in Hygraph?

The recommended steps are: 1) Conduct research and stakeholder interviews to understand business needs; 2) Build a domain model identifying object domains and their relationships; 3) Translate the domain model into a Hygraph schema by creating models and fields; 4) Periodically revisit and iterate your schema as your project grows. For detailed guidance, see the Content Modeling Walkthrough. Note: Schema changes should be tested in non-production environments before rollout.

What is the difference between object domains and attributes in Hygraph content modeling?

Object domains are the main entities in your business (e.g., Books, Authors, Genres) that become models in Hygraph. Attributes are properties that describe these entities (e.g., title, ISBN, price for Books) and become fields within the models. This separation helps create a clear, maintainable schema. Note: Overcomplicating models with too many attributes or unnecessary object domains can make the schema harder to manage.

How are relationships between models handled in Hygraph?

Relationships are managed using reference fields. For example, a Book can reference one or more Authors and Genres, and vice versa. Many-to-many and one-to-many relationships are supported, allowing for flexible schema design. Note: Complex relationship logic (such as conditional references or advanced validation) may require custom implementation outside of Hygraph's standard schema tools.

What is a component in Hygraph, and when should I use one?

A component in Hygraph is a reusable group of fields that can be attached to multiple models. For example, a Promotion component (with fields like name, discount, description, image) can be added to the Book model and reused elsewhere. This ensures consistency and reduces duplication. Note: For promotions shared across many books, consider modeling Promotion as a separate object with references rather than embedding as a component.

Features & Capabilities

What are the key features of Hygraph for content modeling and management?

Hygraph offers a GraphQL-native architecture, content federation, rich editing capabilities, localization, scalability, and advanced relationship modeling. It supports reusable components, reference fields, and flexible schema evolution. Note: While Hygraph covers a wide range of content management needs, highly specialized workflows may require additional customization or integration with other tools.

Does Hygraph support APIs for content delivery and management?

Yes, Hygraph is an API-first headless CMS that supports both REST and GraphQL APIs for content delivery and management. This enables integration with any frontend or application. For more details, see the API documentation. Note: Advanced API customization may require developer expertise.

What integrations are available with Hygraph?

Hygraph integrates with Google Analytics, Elastic, Zapier, Klaviyo, Salesforce Marketing Cloud, Segment, Adobe Commerce, SAP Commerce Cloud, Dynamic Yield, n8n, Optimizely, Inriver, and more. For the full list, visit the Marketplace Apps page. Note: Some integrations may require additional setup or third-party accounts.

Technical Requirements & Documentation

Where can I find technical documentation and guides for Hygraph?

Comprehensive technical documentation and developer guides are available at Hygraph Docs. These include getting started guides, advanced tutorials, implementation guides, and integration instructions. Note: Some advanced use cases may require direct support or community assistance.

How long does it take to implement Hygraph, and how easy is it to start?

Implementation time depends on project complexity. Simple use cases can be set up in a few days using pre-configured starter projects. More complex implementations may take longer but are supported by structured onboarding, documentation, and community resources. See starter projects and onboarding guide. Note: Large-scale or highly customized projects may require additional planning and technical resources.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 certified (since August 2022), uses ISO 27001-certified providers, and is GDPR and CCPA compliant. Security features include encryption at rest and in transit, role-based access control, audit logs, and advanced firewall rules. For more, see the security features page. Note: Detailed limitations not publicly documented; ask sales for specifics on compliance in regulated industries.

Performance & Scalability

How does Hygraph perform under high-traffic scenarios?

Hygraph uses a high-performance global CDN, region-based hosting, and advanced caching (Smart Edge Cache) to minimize latency. For example, Gamescom supported 3.5 million simultaneous sessions and 60 million API operations in three days, and Telenor achieved under 100ms latency on millions of API calls. Note: Actual performance may vary based on implementation and geographic distribution; test with your expected traffic patterns.

Use Cases & Success Stories

Who can benefit from using Hygraph?

Hygraph is suited for marketing and content teams, product managers, developers, and enterprise IT teams. It is used in industries such as technology, consumer goods, telecommunications, media, retail, e-commerce, travel, scientific publishing, government, and sports/events. Note: Organizations with highly specialized or legacy requirements may need additional customization.

What business impact can customers expect from using Hygraph?

Customers have reported up to 50% reduction in maintenance costs, 3x faster time-to-market (Komax), 15% improvement in customer engagement (Samsung), and the ability to handle millions of sessions (Gamescom). For more, see Hygraph Case Studies. Note: Results depend on implementation and organizational readiness.

Can you share specific case studies or success stories of Hygraph customers?

Yes. Examples include Samsung (15% improvement in customer engagement), Komax (3x faster time-to-market), Gamescom (3.5 million simultaneous sessions), Stobag (online revenue share from 15% to 70%), Dr. Oetker (content for 40 countries), and Telenor (under 100ms latency on millions of API calls). See Hygraph Case Studies for details. Note: Outcomes may vary by use case and implementation.

Pain Points & Problem Solving

What problems does Hygraph solve for content teams and organizations?

Hygraph addresses dependency on developers, legacy tech stack limitations, content inconsistency, workflow inefficiencies, high operational costs, slow speed-to-market, scalability issues, complex schema evolution, integration difficulties, performance bottlenecks, and localization challenges. Note: Some highly specialized business processes may require additional configuration or integration with other systems.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Hygraph
Docs

#Content modeling walkthrough

This walkthrough takes you through the full content modeling process using a bookshop website as an example. Starting with research and stakeholder interviews, you will build a domain model with your team and then translate it into a working Hygraph schema. Following this method produces a schema that is structured, scalable, and straightforward for both editors and developers to work with.

#Prerequisites

#Step 1: Research and discovery

Content modeling starts with research, not with the schema editor.

For this example, imagine you have been asked to build a content model for a chain of bookshops. Start with desk research to understand how bookshop websites typically structure their content. This would include book details, genres, authors, reviews, and so on.

Once you have a basic understanding, interview key stakeholders:

  • Content creators to understand how they enter book details, manage inventory, and create content day-to-day.
  • Sales team to learn what information supports the purchasing decision and how customers interact with the site.
  • Developers to understand technical requirements, preferred stack, and how content needs to be structured for performance.
  • Marketing team to identify what drives engagement and what promotional content needs to be supported.

After your research and interviews, compile a list of terms that will form the foundation of your content model:

  • Books
  • Authors
  • Genres
  • Reviews
  • Price
  • ISBN
  • Availability
  • Promotions

#Map the relationships

With your terms defined, think through how these concepts relate to each other:

  • Each Book is written by one or more Authors.
  • Each Book belongs to one or more Genres.
  • Each Book may have multiple Reviews.
  • Each Book has a single ISBN.
  • Each Genre may be associated with multiple Books and Authors.
  • Each Book has a Price.

Next, separate object domains (things that will become models) from attributes (values that describe an object). Price, ISBN, and Availability are attributes of Book, not models in their own right.

#Step 2: Build the domain model

Bring your cross-functional team together to build a domain model, which is a high-level picture of the entire business, its key objects, and the relationships between them.

The domain model is broader than what you will put into Hygraph. It covers the full scope of the business, including operational areas that are not directly relevant to the website.

Here is a domain model for the bookshop:

Object domainAttributes
BooksTitle, ISBN, price, availability, summary, cover image
AuthorsName, biography, photo
GenresName, description
ReviewsUser name, rating, review text
PromotionsDiscount name, description, amount, active period
Store locationsShop name, address, contact details, operating hours
Employee managementEmployee name, role, shift schedule, contact information
SuppliersSupplier name, contact information, order history, contracts

Here are the key relationships:

ObjectsRelationship
Books and AuthorsA book is written by one or more authors. An author can write multiple books.
Books and GenresA book belongs to one or more genres. A genre can contain multiple books.
Books and ReviewsA book can have multiple reviews. A user can review multiple books.
Books and PromotionsA book can be associated with one or more active promotions. A promotion can apply to multiple books.
Books and SuppliersA supplier provides one or more books. A book may be sourced from multiple suppliers.
Store locations and BooksA store location stocks multiple books. A book may be available in multiple locations.
Suppliers and Store locationsA supplier provides stock to one or more locations. A store location receives stock from multiple suppliers.
Promotions and Store locationsA promotion may apply to specific locations. A store location may have multiple active promotions.

#Step 3: Build the schema

With a domain model in hand, identify which parts belong in Hygraph. In Hygraph, object domains become models and attributes become fields.

Here is the high-level schema:

  • Book model: Title, ISBN, Price, Summary, Availability, Book cover, Genres (reference), Author (reference), Promotion (component field)
  • Author model: Name, Biography, Photo, Books (reference), Genres (reference)
  • Genre model: Name, Description, Books (reverse reference), Authors (reverse reference)

The sections below define each model in detail.

#Book model

The Book model is the primary content type on the bookshop website.

FieldTypeDescription
titleSingle line textThe book's title
isbnSingle line textA unique identifier for the book
priceFloatThe book's price
summaryRich textA description of the book
availabilityBooleanWhether the book is currently in stock
bookCoverAsset pickerThe book's cover image
genresReference (two-way)Links to one or more Genre entries
authorReference (two-way)Links to one or more Author entries
promotionBasic componentAdds a promotion component to the entry

#Promotion component

The promotion component is a reusable group of fields attached to the Book model. Because it is a component, the same definition can be reused on other models without duplicating the field setup.

FieldTypeDescription
nameSingle line textThe promotion's name
discountEnumerationA predefined list of discount values
descriptionRich textA description of the promotion
imageAsset pickerAn image associated with the promotion

#Author model

The Author model stores information about book authors.

FieldTypeDescription
nameSingle line textThe author's full name
biographyRich textA biographical description
photoAsset pickerA profile image
booksReference (two-way)Links to one or more Book entries
genresReference (two-way)Links to one or more Genre entries

#Genre model

The Genre model stores genre definitions and connects to both books and authors through reference fields.

FieldTypeDescription
nameSingle line textThe genre name. For example, Fiction or Non-Fiction
descriptionRich textAdditional information about the genre
booksReference (reverse)Reverse field of the genres reference on Book
authorsReference (reverse)Reverse field of the genres reference on Author

#What's next

You now have a schema that reflects a structured, scalable approach to content modeling. Editors can create entries efficiently, and developers can query the Content API with confidence because the relationships are explicit and field types are predictable.

ResourceDescription
Getting Started tutorialBuild a project from scratch, from schema design to frontend implementation.
Hygraph recipesExplore common schema patterns and field configurations.
Implementation guidesStep-by-step guides for connecting your Hygraph project to a frontend.
Integration guidesFind out how third-party apps integrate with Hygraph to extend your project.