• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Issue with Google Calendar Event Times Using Pabbly Connect

Wmorkan

Member
Hello,

I’m encountering an issue with creating events in Google Calendar via Pabbly Connect. Here’s the situation:

I want to generate an event in Google Calendar based on a date received from an email.

Steps I’ve Followed:​


1. Format Conversion:
The email provides the date in the format MMMM DD YYYY HH:mm:ss (e.g., January 22 2006 23:04:05). I convert this to the format required by Google Calendar: YYYY-MM-DDTHH:mm:ss[Z] (e.g., 2018-11-29T13:00:46Z), which works and gives a positive result.

1731676159385.png


2. Adjusting End Time:
I add 1 hour to the Start Date Time to generate the End Date Time in the same format: YYYY-MM-DDTHH:mm:ss[Z] (e.g., 2018-11-29T14:00:46Z). This also works and provides a positive result.

1731676230337.png


3. Adding Data to Google Calendar Action:
I input the formatted Start Date Time and End Date Time into the respective fields for the Google Calendar action in Pabbly Connect.

1731676598487.png

1731676343107.png


The Issue:​

Instead of scheduling the event for the correct time (e.g., 8:00 AM - 9:00 AM), Google Calendar sets all events to 12:00 AM - 1:00 AM.

1731676791783.png


Additional Testing:​

  • I’ve tried using other Date-Time formats, but they all result in errors (negative values or invalid format messages). The only format that works without an error is YYYY-MM-DDTHH:mm:ss[Z], but it doesn’t correctly read the time.

Request:​

Could you please help me resolve this issue? How can I ensure that the correct time is reflected when creating events in Google Calendar via Pabbly Connect?

Thank you in advance for your support!
 

Attachments

  • 1731676299265.png
    1731676299265.png
    54.5 KB · Views: 16
  • 1731676535678.png
    1731676535678.png
    110.1 KB · Views: 13

ArshilAhmad

Moderator
Staff member
Hi @Wmorkan,

Could you please share the Workflow URL where you have this concern? Also, specify the time zone of the time you are inputting into the Date/Time formatters.
 

ArshilAhmad

Moderator
Staff member
Google Calendar API expects the time to be provided in UTC format. So, when you input 2024-11-15T08:00:00Z, it is interpreted as UTC time. Since, 8:00 AM UTC corresponds to 12:00 AM Vancouver time, it appears as such in your Google Calendar.

We suggest using a Date/Time Formatter to add 8 hours to your time (2024-11-15T08:00:00Z), which will give you 2024-11-15T16:00:00Z. You can then feed this updated time to Google Calendar, and it will display as 8:00 AM in your calendar.
 

Wmorkan

Member
Hi @ArshilAhmad! Thank you so much! The solution you provided is working perfectly now.

I have another question regarding the workflow:

Unlike the previous case where the date was provided in the format MMMM DD YYYY HH:mm:ss (e.g., January 22 2006 23:04:05), this time the date is given in the format MM/DD/YYYY hh:mm:ss A (e.g., 12/13/2020 05:30:41 PM).

This is the result I’m currently getting. Is there anything I should adjust to ensure the output is in a positive format?

1731804566619.png
 

Wmorkan

Member
Thank you so much, @ArshilAhmad ! It worked perfectly. I’ll continue monitoring to ensure people keep booking appointments and that everything runs smoothly.

On another note, I’d like to implement the option for appointments to be added directly from Pabbly Connect to Go High Level, as connecting through Google Calendar has many limitations for Go High Level.

I’m using the "Create Appointment" option:

1732144004337.png


For "Timezone," I’ve set it to "America/Vancouver." I also tried the timezone displayed in Go High Level, but I keep getting the same error message.

1732144025035.png


This is the Go High Level account Timezone:

1732144139550.png


The workflow link:

How do you think I could resolve this?

Thank you, Arshin, for your help!
 

ArshilAhmad

Moderator
Staff member
Please try using the Date/Time Formatter to convert the time zone of your date from UTC to Vancouver time. Then, pass it to the 'Create Appointment' action step and check if that resolves your issue.
1732144572671.png
 

Wmorkan

Member
Thanks @ArshilAhmad ! I already completed this step, and I got the same result:

1732146243132.png


When I add that data to the action in Go High Level, this result appears:

1732146291963.png

1732146305979.png


I tested it with the personal form, and I still get the same error message.

Is there anything I need to change to keep using the same action, or should I switch to LeadConnector V2?
 

ArshilAhmad

Moderator
Staff member
We have added a Text Formatter to your workflow to remove 'at' and changed the From Format. This appears to have resolved your issue.
1732309530979.png
 

Wmorkan

Member
@ArshilAhmad , you’re the best! It’s working perfectly now!

One additional question—what does this "Contact ID" refer to, and where would that information appear in the Appointment section in Go High Level? The Contact ID I’ve placed there shouldn’t be the same for all, or should it?

It also seems to only allow me to add contacts already in my Go High Level contact list, not administrators.
 

ArshilAhmad

Moderator
Staff member
When a new contact is created in GHL, it is assigned an ID. You need to map this ID in the 'Create Appointment' action step from above. This ensures that each time a new contact is created, an appointment with the same contact is also created in your GHL account. We have made the necessary changes on your behalf and have mapped the Contact ID accordingly.
1732314737008.png
 

Wmorkan

Member
Thank you so much, @ArshilAhmad ! I’ve got it set up as you indicated.

Now I’m encountering an issue in the following workflows:

  • Service Appointment Request: Link
  • Tire Appointment Request: Link
  • Wheel Appointment Request: Link
Some actions complete successfully, while others fail:

1732753231156.png


The error always happens at this last step:

1732753264208.png


I spoke with the team at Go High Level, and I have the Round Robin Calendar enabled with a maximum of 20 appointments per slot. The calendar is set to be available from 1:00 AM to 11:55 PM.

1732753308755.png


Would you know how I can resolve this issue?
 

ArshilAhmad

Moderator
Staff member
The issue appears to be related to the slot where you are trying to create an appointment, as it is already booked. You can try adding a 'Get Calendar Free Slots' action step along with a Filter step to your workflow before the 'Create Appointment' action step. The 'Get Calendar Free Slots' step will check whether the slot you are trying to create the appointment in is free. If it is not, the Filter step will ensure that the 'Create Appointment' action step is not executed.

1732754334781.png
 

Wmorkan

Member
Thank you, @ArshilAhmad ! Could you help me set up this part?


I’ve entered the information, but I don’t understand what "TraceId" refers to or if the value I entered is the one I need.
Also, how should I configure the filter?
Do I need to complete the "User ID"?

Workflow:
1733438190258.png



Additionally, to better understand this action, does this mean it will act as a filter to check if a slot is available, and if it is, it will move to the next action?
Do I need to perform any additional steps?
 

ArshilAhmad

Moderator
Staff member
The date you are mapping to the 'Get Calendar Free Slots' action has already passed. You need to input an upcoming date for the 'Get Calendar Free Slots' action step.
1733440221572.png


Additionally, to better understand this action, does this mean it will act as a filter to check if a slot is available, and if it is, it will move to the next action?
Do I need to perform any additional steps?
No, it won't act as a filter on its own. You need to add a filter after the 'Get Calendar Free Slot' action step and check whether the time you are trying to create the appointment matches an available free slot. If no free slot is available, the workflow execution will stop at the filter step, and the final step of creating the appointment will not be executed.
 
Top