Key Airscript functions will be TIME_FROM_FORMAT, UPDATE_TIMEZONE, and DATETIME_FROM_FORMAT refer to the documentation to learn more about these functions. Refer to the YouTube Video for more details on this Data Flow.Īdditionally there will be some additional time formatting needed to produce a list of 30 minute available time slots. This Data Flow will use the Airscript Function MERGE_OBJECT. ![]() Merge Objects Data Flow: Since we have a few time slot objects, we will need to bring some different object data together and we will create and use another Data Flow called Merge Objects. The resulting busy time slots will look like the following: Body will use results from previous Data Operations show in the screen shot below.In order to make this request, we will use HTTP Request Data operation and use the following settings: Now we will need information from Google Calendar API to find the busy times so we will leverage the integration we set up already. We can use this FORMAT_DATE Airscript in a Transform Function for both the Start of the Day and End of the Day Variable. We will need to use the following Airscript function: FORMAT_DATETIME in order to format the date into RFC 3339. Google Calendar API expects the date to be in RFC 3339 format. Get Free Slots Data Flow: We will be setting the appointment window starting time and ending time, finding the existing appointments via the Google Calendar API, and creating a list of 30 minute available time slots. Refer to the YouTube Video for complete details on how to create all these Data Flows.įirst, we will create three Data Flows for finding all the available time slots on a particular day. The main Data Flow will be called “Get Free Slots” and then we will create two additional supporting Data Flows called “Merge Objects” and “Generate 30 Min Slots”. Now we have the integrations ready for use in the Airkit Application, next we will need to build out six Data Flows for the application for self-service appointment scheduling. Refer to this snippet of the video on how to pair the connected accounts for Zoom and Google Calendar API or refer to this document on Connected accounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |