Automatically create pages with Netlify CMS & Gatsby

Is it possible to create new pages automatically with Gatsby and Netlify CMS? To elaborate a bit, with a WP + Gatsby setup, I can create pages by querying all the WP pages and using a template in the gatsby-node.js file. Is there a way to achieve the same with Netlify CMS?


Netlify CMS will push the new markdown file to your git repo. This push will trigger a build in Netlify. So, you’d have to setup Gatsby to build from local markdown files which might include using gatsby-node.js.

From my understanding, any typical Gatsby website that can build from local markdown files would do the trick.

I’m saying this from my experience when using Netlify CMS with Hugo and haven’t tried it with Gatsby, so I might be a bit off.