Integrate Wordpress with Algolia
Integrate Algolia with WordPress. Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
Integrated with:
Get started with syncing published content to Algolia with GraphCMS webhooks, and Next.js API routes.
Using Hygraph webhooks to sync data to Algolia on new published content.
Hygraph boasts granular webhooks that give you the power to watch specific changes to data. This example is using a simple schema that contains products and watching for any new product drafts being promoted to the PUBLISHED
stage.
When they do, a webhook to a Next.js API route is triggered, in this case /api/webhook
.
The code in this webhook checks if the request is in fact a POST
request, and has a Authorization
header value that matches what we have record. If all is well, the rest of the serverless function is responsible for syncing data to Algolia.
Recommended content
Integrate Algolia with WordPress. Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
Integrated with:
Amplience Search Powered by Algolia
Integrated with:
A plugin to push to Algolia based on graphQl queries
Integrated with: