Help Needed: Two-way sync between Wix and Google Calendar using Make (Webhook not working)

Goal:

I want this setup:

  1. When I create an event in Wix website
    → It should go to Google Calendar
  2. When I create an event in Google Calendar
    → It should also appear in Wix website/database

So basically a two-way synchronization.


What I tried:

1. Zapier

  • It works only for one-way sync
  • I could not achieve proper two-way sync

2. Make (Webhook → Google Calendar)

  • I created a scenario: Webhook → Google Calendar
  • When I click “Run once”, it shows “Waiting for data”
  • But no data is received and it does not turn green
  • It shows “No data detected”

Wix Backend Code (HTTP Function):


import { ok, serverError } from 'wix-http-functions';
import wixData from 'wix-data';

export async function post_addEvent(request) {

    try {

        const eventData = await request.body.json();

        const result = await wixData.insert('Events', eventData);

        return ok({
            headers: {
                "Content-Type": "application/json"
            },
            body: result
        });

    } catch (error) {

        return serverError({
            headers: {
                "Content-Type": "application/json"
            },
            body: {
                error: error.message
            }
        });
    }
}

Wix Frontend Code (masterPage.js):


import { fetch } from 'wix-fetch';

$w.onReady(function () {

    setTimeout(() => {

        fetch("https://hook.us2.make.com/hdeo9qq94dak6pyavb3dx3v6u1huylbu", {
            method: "POST",
            headers: {
                "Content-Type": "application/json"
            },
            body: JSON.stringify({
                title: "Auto Event",
                start: "2026-06-05T10:00:00",
                end: "2026-06-05T11:00:00",
                email: "test@test.com"
            })
        });

    }, 3000);

});

Briefly explain what’s not working or where you’re stuck

Working in
e.g. Wix Studio Editor, Wix Editor, Dev Mode, CMS, etc.

Site link
If this is happening on a site, include a live or test site link

What I’m trying to do
Describe the goal or outcome you’re hoping for

What I’ve tried so far
Let us know what you’ve already tested, changed, or searched

Extra context
Anything else that might help - edge cases, screenshots, etc.

1 Like