Receive updates of the position of the ISS every minute
This workflow demonstrates the use of static data in n8n. The workflow is built on the concept of polling.
Description
This workflow demonstrates the use of static data in n8n. The workflow is built on the concept of polling. Cron node: The Cron node triggers the workflow every minute. You can configure the time based on your use-case. HTTP Request node: This node makes an HTTP Request to an API that returns the position of the ISS. Set node: In the Set node we set the information that we need in the workflow. Since we only need the timestamp, latitude, and longitude we set this in the node. If you need other information, you can set them in this node. Code node: The Code node, checks if the incoming data is similar to the data that was returned in the previous execution or not. If the data is different the Code node returns this new node, otherwise, it returns a message 'No New Items'. The data is also stored as static data with the workflow. Based on your use-case, you can build the workflow further. For example, you can use it send updates to Mattermost or Slack. An n8n automation workflow template by Harshil Agrawal.
Community Metrics
Author
Harshil Agrawal
Platform
web
Pricing model
free
Categories
- Automation
Tags
- n8n
- workflow
- http-request
- code
Capabilities
- 2 nodes
- 632 views