Overview
This node checks whether it is currently work time according to the Hamkaran system. It is useful for workflows that need to conditionally execute actions based on whether the current time falls within defined work hours. For example, it can be used to trigger notifications or processes only during business hours.
Use Case Examples
- A workflow that sends alerts only if a request is made during work hours.
- Automating task assignments that should only happen when employees are expected to be working.
Properties
| Name | Meaning |
|---|---|
| Resource | Selects the resource to interact with, here it is fixed to 'Check Work Time' which checks if it is currently work time according to Hamkaran. |
Output
JSON
body- The JSON response from the Hamkaran API indicating whether it is work time.
Dependencies
- Requires an API key credential for HamkaranIsWorkTime to authenticate requests to the Hamkaran API.
Troubleshooting
- Ensure the Hamkaran API credentials are correctly configured and valid to avoid authentication errors.
- Check network connectivity to the Hamkaran API endpoint to prevent request failures.
- Verify that the API endpoint '/marketing/is_work_time' is accessible and the service is operational.
Links
- Hamkaran API Documentation - Official API documentation for Hamkaran services, including the work time check endpoint.