I’ve created a price monitoring flow. I have Webhook > IF nodes > Switch > Slack notifications. Now I have 15 products/websites that I want to monitor when stocks or prices drop. Do I have to create 15 IF nodes in that case? Second, I am getting continuous notifications but with wrong information, meaning it’s not following my JSON script and the rules on my IF nodes. 3) I am not getting input and output on my Switch nodes, so I am not getting the Slack notification. It’s like my Python is bypassing my n8n flow.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Can you show me the full workflow? You can send the json flow or screenshot it.
I think you don’t need to setup a complicated workflow.
You can create a sheet to record
product, last_price, last_updated_at
So when product has a new price.
Get the data from google sheet using product
to filter the row.
Compare current price and last_price. Go the next step according to the comparison.
So you only need one path to deal with all products unless you have a more complicated scenario.
Hi @darrell_tw , I was able to streamline my n8n flow and make it work (see amz_price_monitor.json), and the config.json is where the list of websites is. I am stuck with my Python script (price_monitor.py). I can’t get it to run 24/7, and it’s not fetching the right signals.
For example, for JoesNB - Fresh Foam X 880v14 - Inkwell, there is existing stock and a discount. But the script is not fetching the data.
Hi, @cutecatcode.
I was able to streamline my n8n flow and make it work (see amz_price_monitor.json), and the config.json is where the list of websites is. I am stuck with my Python script (price_monitor.py). I can’t get it to run 24/7, and it’s not fetching the right signals.
For example, for JoesNB - Fresh Foam X 880v14 - Inkwell, there is existing stock and a discount. But the script is not fetching the data.