Okay
  Public Ticket #2820889
web hooks
Closed

Comments

  •  2
    Traci started the conversation

    I am wondering if I can use webhooks to control adding an appointment in Amelia. Here is an example.

    I sell a product in Woocommerce, and then need to setup a ZAP to set an appointment for product assembly, and make that time unavailable for other Amelia appointments. It would need to be the closest half hour block available. Is this possible?

    Alternatively, I suppose I could setup the ZAP after woocommerce purchase to add an event to Google calendar. Is there a way to sync back from Google Calender to block times as unavailble in Amelia?

    Thank you.

  • [deleted] replied

    Hi Traci,

    thank you for reaching out to ussmile.png

    I'm afraid that this is not possible at the moment, WebHooks can only be used to send information from Amelia, not to Amelia.

    All bookings must be made inside Amelia, and for blocking the times you can use our integration with Google Calendar - if you have a way to connect WooCommerce or ZAP to your Google Calendar, then Google would be able to block that time in Amelia so that it cannot be booked.

  •  2
    Traci replied

    Thank you for getting back to me. 

    I didn't realize blocking time on Google calendar would successfully prevent appointments, but I just tested it, and it works. Thank you. This should work.

  • [deleted] replied

    Hi Traci,

    yes, whatever you insert into GC it will block that time and date in Ameliasmile.png

    I'm glad you like the solution; if you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.