Overview
This node checks whether it is currently work time according to Hamkaran's schedule. It is useful for workflows that need to conditionally execute actions based on business hours or work time status. For example, it can be used to trigger notifications or processes only during official work hours.
Use Case Examples
- Trigger a notification only if it is work time.
- Run a workflow step that depends on business hours.
Properties
| Name | Meaning |
|---|---|
| Resource | Selects the resource to interact with, here it is 'Check Work Time' which checks if it is currently work time. |
Output
JSON
response- The JSON response from the Hamkaran API indicating if it is work time.
Dependencies
- Requires an API key credential for Hamkaran's API (optional).
Troubleshooting
- If the API key credential is missing or invalid, the node may fail to authenticate and return an error.
- Network issues or incorrect base URL can cause request failures.
- Ensure the API endpoint '/marketing/is_work_time' is accessible and the service is operational.
Links
- Hamkaran API Documentation - Official API documentation for Hamkaran services.