Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Website → Create
AI-generatedOverview
This node operation creates a new website entry in the Hudu system. It is useful for monitoring and managing websites associated with a company, including tracking their status, monitoring types, and various metadata. For example, a user can create a website record to monitor its HTTP response code, enable or disable DNS, SSL, and WHOIS monitoring, and associate it with a specific company and account.
Use Case Examples
- Creating a website entry to monitor its uptime and SSL certificate status for a company.
- Adding a new website with custom HTTP headers and keywords for tracking purposes.
Properties
| Name | Meaning |
|---|---|
| Website URL | The URL of the website to monitor (must be a valid HTTP or HTTPS URL) |
| Company Name or ID | The company to associate with the website, selectable from a list or specified by ID using an expression |
| Additional Fields | Optional additional fields to provide more details about the website, such as account ID, asset type, monitoring status, timestamps, and various monitoring flags |
Output
JSON
id- The unique identifier of the created websitename- The URL of the created websitecompany_id- The ID of the company associated with the websiteadditionalFieldsaccount_id- The ID of the associated account (if provided)asset_field_id- The ID of the related asset field (if provided)asset_type- The type of the asset, typically 'Website' (if provided)code- The HTTP response code of the website (if provided)company_name- The name of the associated company (if provided)disable_dns- Flag indicating if DNS monitoring is disabled (if provided)disable_ssl- Flag indicating if SSL certificate monitoring is disabled (if provided)disable_whois- Flag indicating if WHOIS monitoring is disabled (if provided)discarded_at- Timestamp when the website was discarded (if provided)enable_dkim_tracking- Flag indicating if DKIM checks are enabled (if provided)enable_dmarc_tracking- Flag indicating if DMARC checks are enabled (if provided)enable_spf_tracking- Flag indicating if SPF checks are enabled (if provided)headers- HTTP headers associated with the website (if provided)icon- FontAwesome icon related to the website (if provided)keyword- Keyword associated with the website (if provided)message- Message related to the website's status (if provided)monitor_type- Type of monitoring performed on the website (if provided)monitored_at- Timestamp when the website was last monitored (if provided)monitoring_status- Monitoring status of the website (e.g., 'up', 'down') (if provided)notes- Additional notes about the website (if provided)paused- Flag indicating if website monitoring is paused (if provided)refreshed_at- Timestamp when the website was last refreshed (if provided)sent_notifications- Flag indicating if notifications related to the website have been sent (if provided)slug- URL slug for the website (if provided)
Dependencies
- Hudu REST API
- API key credential for authentication
Troubleshooting
- Ensure the Website URL is a valid HTTP or HTTPS URL to avoid validation errors.
- Verify that the selected company exists and the company ID or name is correct to prevent association errors.
- If additional fields are provided, ensure their data types and formats are correct, especially for dateTime and boolean fields.
- Common error messages may include invalid URL format, unauthorized access due to missing or incorrect API credentials, or resource not found errors if the company or website does not exist.
Links
- n8n Expressions Documentation - Documentation on how to use expressions in n8n for dynamic input values.