Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Date and Time → Check if Weekend
AI-generatedOverview
The node provides a utility to check if a given date falls on a weekend. This is useful in workflows where actions depend on whether a specific day is a weekday or weekend, such as scheduling tasks, sending notifications, or applying different business rules based on the day type.
For example, you might use this node to:
- Automatically skip processing on weekends.
- Trigger special weekend promotions or alerts.
- Adjust deadlines or reminders that should only occur on weekdays.
Properties
| Name | Meaning |
|---|---|
| Date | The date string to check if it falls on a weekend. Example format: "2023-01-01". |
Output
The node outputs JSON data indicating whether the provided date is a weekend day. The exact structure is not fully detailed in the source, but typically it would include a boolean field such as isWeekend or similar to represent the result.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the external service at
https://prod.0codekit.com. - The node sends a POST request to the endpoint
/dateandtime/isweekendwith the date in the request body. - Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
- Invalid Date Format: If the input date is not in a recognized format, the API may return an error or incorrect results. Ensure the date string follows a standard format like ISO 8601 (e.g., "YYYY-MM-DD").
- Authentication Errors: Missing or invalid API key credentials will cause authentication failures. Verify that the API key is correctly set up in n8n.
- Network Issues: Connectivity problems to the external API endpoint can cause timeouts or errors. Check network access and proxy settings if applicable.
- Empty Input: Providing an empty or missing date value will likely result in an error or no meaningful output. Always supply a valid date string.
Links and References
- No direct links are provided in the source code. For more information, consult the documentation of the external service at
https://prod.0codekit.comor the n8n community forums for usage examples related to date utilities.