CronDog

CronDog

  • Blog
  • Docs
  • Dashboard

›Task Examples

Quick Start

  • Create your first task
  • Create your first receiver

Task Settings

  • HTTP Settings
  • Schedule

Task Notifications

  • Notification Overview
  • Source
  • Property / CSS Selector
  • Comparison
  • Message and HTTP Action Templates

Task Errors

  • Errors

Task Shortcuts

  • Keyboard Shortcuts

Receiver Variables

  • Receiver variables

Task Examples

  • Nintendo Switch availability monitor
  • Weather monitor
  • Insider trading monitor
  • Mortgage rate monitor
  • Github repo release monitor

Receiver Examples

  • Create an Okta Hook receiver
  • Create a SendGrid Event Webhook receiver

Nintendo Switch availability monitor

Nintendo Switch is a very popular game console and people often find it out of stock in online stores. In this tutorial, we'll use CronDog to monitor Nintendo Switch availability on Target.com, and receive an email notification when it is in stock.

1. Set up HTTP request

After logging into the CronDog dashboard, click New task on the All Tasks page. The task creation form opens with Request, Schedule, and Notifications sections.

Under the Request and Schedule sections, provide the following values:

FieldValueNotes
Task NameNintendo Switch monitor - TargetThe name of the task
URLhttps://redsky.target.com/v3/pdp/tcin/77464002?excludes=taxonomy&key=eb2551e4accc14f38cc42d32fbc2b2eaTarget.com API that returns Nintendo Switch availability
Request MethodGET
Request HeadersNoneNo headers are needed
ScheduleEvery 1 dayThe task will run once every day

This tells the task to issue a GET request to the Target.com API endpoint once every day for Nintendo Switch availability information.

2. Create email notification

The Target API returns the following data in JSON format, which you can check by visiting the Target Nintendo Switch website and inspecting your browser's network traffic in the developer console:

Let us set up a notification condition around the API response's online availability property, so we can get notified when Switch is in stock. Under the Notifications section, click the Add button next to the Email label:

The Add email notification dialog opens.

Then provide the following values in the dialog:

FieldValueNotes
SourceResponse Body (JSON)Parse the API response as JSON payload
Propertyproduct.available_to_promise_network.online_available_to_promise_quantityThe property path for online availability information in JSON response
Comparisongreater than (number)
Value0This tells CronDog that whenever the property is greater than 0, an email notification will be sent
ToYour email address
SubjectSwitch is available!The email subject
MessageNintendo Switch is available! Go to https://www.target.com/p/nintendo-switch-with-gray-joy-con/-/A-77464002 and order one!The email body

This tells CronDog to send an email notification whenever the Target API response body's online_available_to_promise_quantity property value is greater than 0.

Click Save. The new email notification appears under the Notifications section.

3. Save task

Click Create at the bottom of the task creation page.

After the task is created, CronDog opens the task detail page with the status set to Active.

4. Test task

To make sure your task settings such as URL and notification rules are properly configured, test your task at least once by clicking Run now at the top of the task page. Run now triggers the HTTP request right away and evaluates all configured notification conditions.

Let us pick a stock quantity that is lower than the current value for testing purposes, say -1. In the Settings tab, go to Notifications and click the pencil icon in the email notification's Actions column.

Change the value from 0 to -1, then click Save. Now the task should be able to send an email notification when Switch quantity is greater than -1. Click Run now at the top of the page. The task page switches to the History tab, where you can check the task status. Within a few seconds, you should see the execution status turn into SUCCESS.

At this point, you should receive an email triggered by the task.

If things didn't work as expected, this could happen due to a misconfigured notification condition such as an invalid JSON property path, or due to a temporary network connectivity issue. Check the errors section in the execution detail for a hint.

Once everything is working as expected, you can revert the email notification condition by changing the value back to 0, and then click Save.

5. Sit and wait

Congratulations! You can now sit back and wait for the CronDog email notification whenever Nintendo Switch is in stock on Target.com!

← Receiver variablesWeather monitor →
  • 1. Set up HTTP request
  • 2. Create email notification
  • 3. Save task
  • 4. Test task
  • 5. Sit and wait
Copyright © 2026 CronDog, Inc.