Hudu icon

Hudu

Interact with Hudu REST API

Website → Create

AI-generated

Overview

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

  1. Creating a website entry to monitor its uptime and SSL certificate status for a company.
  2. 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 website
  • name - The URL of the created website
  • company_id - The ID of the company associated with the website
  • additionalFields
    • account_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

Discussion