To configure your bot's service hours connector, go to the Integrations page > Connectors > Create connector
Fill in the connector settings using the following information:
URL:’ https://chat-api.meudroz.com/utils/system/{{Current Time}}/{{Start Time}}/{{End time}}/{{Days of the Week}}
Current Time: It is the variable that needs to be collected in the bot flow to enable the time validation.
Start Time: Defined according to the HH:MM:SS pattern, it corresponds to the beginning of Service Time.
End Time: Defined according to the MM:MM:SS pattern, it corresponds to the end of Service Time.
Days of the Week: Defined according to the 0-6 pattern, following the order 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday and 6 - Saturday.
Sample URL: https://chat-api.meudroz.com/utils/system/14:00:00/07:30:00/19:29:00/1-5
Data: Service Hours and GET
URL: As print below
Headers: Empty
Authentication: Empty
Request: Empty
Response: As print below
In the flow you will have to implement the components: Date, Integration, and Filter, to validate through the API return if the client is on time. You must configure these components in the block that performs the transfer for human service or ticket creation.
⚠ If you have specific times for different days, you will have to create 2 or more connectors with specific variables for the API status. If you still have questions, please contact us at support@meudroz.com.