Actions19
Monitor → Update
AI-generatedOverview
This node updates an existing monitor in the ScrapegraphAI system. It allows users to modify specific fields of a monitor such as the cron interval, webhook URL, output formats, and fetch configuration. This is useful for automating and customizing how and when a monitor triggers and what data it sends.
Use Case Examples
- Updating the schedule of a monitor to run every 6 hours using a cron expression.
- Changing the webhook URL to a new endpoint to receive monitor payloads.
- Modifying the output formats to change how the scraped data is formatted.
- Adjusting fetch options to customize how the monitor fetches data from the target webpage.
Properties
| Name | Meaning |
|---|---|
| Monitor | The specific monitor to update, identified either by selecting from a list or by providing its UUID. |
| Update Fields | The fields to update on the monitor. Only the fields included here will be modified. |
Output
JSON
id- The unique identifier of the updated monitor.interval- The updated cron interval expression.webhookUrl- The updated webhook URL.formats- The updated array of output formats.fetchConfig- The updated fetch configuration options.
Dependencies
- Requires an API key credential for ScrapegraphAI to authenticate requests.
Troubleshooting
- If the monitor ID is not a valid UUID, the node will throw a validation error. Ensure the ID matches the UUID format.
- If required fields are missing or invalid in the updateFields collection, the update may fail or be ignored.
- Network or authentication errors may occur if the API key credential is invalid or the ScrapegraphAI service is unreachable.