AutomationFlowsSlack & Telegram › N8n Decodo Stock Monitor State Table

N8n Decodo Stock Monitor State Table

N8N-Decodo-Stock-Monitor-State-Table. Uses baserow, @decodo/n8n-nodes-decodo, slack. Scheduled trigger; 7 nodes.

Cron / scheduled trigger★★★★☆ complexity7 nodesBaserow@Decodo/N8N Nodes DecodoSlack
Slack & Telegram Trigger: Cron / scheduled Nodes: 7 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 9 * * *"
            },
            {}
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.3,
      "position": [
        0,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000001",
      "name": "Every day at 9 AM"
    },
    {
      "parameters": {
        "operation": "getAll",
        "databaseId": 458166,
        "tableId": 1012087,
        "returnAll": true,
        "additionalOptions": {}
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        220,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000002",
      "name": "Read products",
      "credentials": {
        "baserowApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "amazon",
        "url": "={{ $json.url }}"
      },
      "type": "@decodo/n8n-nodes-decodo.decodo",
      "typeVersion": 1,
      "position": [
        440,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000003",
      "name": "Check product",
      "credentials": {
        "decodoApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "c0000000-0000-0000-0000-0000000000a1",
              "name": "row_id",
              "value": "={{ $('Read products').item.json.id }}",
              "type": "number"
            },
            {
              "id": "c0000000-0000-0000-0000-0000000000a2",
              "name": "name",
              "value": "={{ $('Read products').item.json.name }}",
              "type": "string"
            },
            {
              "id": "c0000000-0000-0000-0000-0000000000a3",
              "name": "url",
              "value": "={{ $('Read products').item.json.url }}",
              "type": "string"
            },
            {
              "id": "c0000000-0000-0000-0000-0000000000a4",
              "name": "last_status",
              "value": "={{ $('Read products').item.json.last_status }}",
              "type": "string"
            },
            {
              "id": "c0000000-0000-0000-0000-0000000000a5",
              "name": "current_stock",
              "value": "={{ $json.results[0].content.results.stock }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        660,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000004",
      "name": "Compare"
    },
    {
      "parameters": {
        "operation": "update",
        "databaseId": 458166,
        "tableId": 1012087,
        "rowId": "={{ $json.row_id }}",
        "fieldsUi": {
          "fieldValues": [
            {
              "fieldId": 8882688,
              "fieldValue": "={{ $json.current_stock }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.baserow",
      "typeVersion": 1,
      "position": [
        880,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000005",
      "name": "Update last_status",
      "credentials": {
        "baserowApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 3
          },
          "conditions": [
            {
              "id": "10000000-0000-0000-0000-0000000000f1",
              "leftValue": "={{ ($('Compare').item.json.current_stock || '').toLowerCase().includes('in stock') && !($('Compare').item.json.last_status || '').toLowerCase().includes('in stock') }}",
              "rightValue": "",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        1100,
        0
      ],
      "id": "10000000-0000-0000-0000-000000000006",
      "name": "Newly in stock?"
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "#random",
          "mode": "name"
        },
        "text": "=\u2705 Back in stock!\n{{ $('Compare').item.json.name }}\n{{ $('Compare').item.json.url }}",
        "otherOptions": {
          "includeLinkToWorkflow": false
        }
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.4,
      "position": [
        1320,
        -104
      ],
      "id": "10000000-0000-0000-0000-000000000007",
      "name": "Back-in-stock alert",
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Every day at 9 AM": {
      "main": [
        [
          {
            "node": "Read products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read products": {
      "main": [
        [
          {
            "node": "Check product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check product": {
      "main": [
        [
          {
            "node": "Compare",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compare": {
      "main": [
        [
          {
            "node": "Update last_status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update last_status": {
      "main": [
        [
          {
            "node": "Newly in stock?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Newly in stock?": {
      "main": [
        [
          {
            "node": "Back-in-stock alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

N8N-Decodo-Stock-Monitor-State-Table. Uses baserow, @decodo/n8n-nodes-decodo, slack. Scheduled trigger; 7 nodes.

Source: https://gist.github.com/triposat/251e34def7f7f0d209530937ec830f9e — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

ASO teams tracking daily keyword positions Growth & marketing standups that want quick rank visibility Lightweight historical logging without a full BI stack Runs on a schedule (e.g., weekly) Queries

Slack, Baserow, HTTP Request
Slack & Telegram

⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n ins

N8N Nodes Scrapegraphai, Baserow, Slack
Slack & Telegram

N8N-Decodo-News-Digest. Uses slack, @decodo/n8n-nodes-decodo. Scheduled trigger; 18 nodes.

Slack, @Decodo/N8N Nodes Decodo
Slack & Telegram

N8N-Decodo-Stock-Monitor. Uses @decodo/n8n-nodes-decodo, slack. Scheduled trigger; 11 nodes.

@Decodo/N8N Nodes Decodo, Slack
Slack & Telegram

This workflow fully automates your team's daily standup process using Slack for communication, Notion for structured data storage, and Redis for real-time session management.

Notion, Slack, Redis