{"connections":[{"sourceLocalID":3,"sourcePortID":"outlet_output","targetLocalID":0,"targetPortID":"inlet_input"},{"sourceLocalID":2,"sourcePortID":"outlet_result","targetLocalID":5,"targetPortID":"inlet_input"},{"sourceLocalID":0,"sourcePortID":"outlet_output","targetLocalID":2,"targetPortID":"inlet_input"}],"name":"ISS Commentary","nodes":[{"config":{"script":"curl -s http://api.open-notify.org/iss-now.json","shell":"/bin/bash"},"customName":"Get ISS Location","isDisabled":false,"localID":0,"typeID":"action.script","x":460,"y":260},{"config":{"text":"**Get ISS Location** calls the Open Notify ISS API with `curl`. That API only answers over plain `http://`, with no HTTPS, and macOS blocks plain HTTP for the API Request node, so a Script node fetches it instead."},"isDisabled":false,"localID":1,"typeID":"note","x":480,"y":392},{"config":{"imagePath":"","maxTokens":5000,"prompt":"This is the current ISS position JSON:\n\n{{output}}\n\nTell me what the ISS is flying over right now in 1-2 enthusiastic sentences.","systemPrompt":"You are an enthusiastic space commentator. Keep responses to 1-2 sentences. Be fun and educational.","temperature":0.8},"customName":"ISS Location Commentary","isDisabled":false,"localID":2,"typeID":"ai.prompt","x":800,"y":320},{"config":{"customSeconds":60,"interval":"1h"},"isDisabled":false,"localID":3,"typeID":"trigger.schedule","x":100,"y":200},{"config":{"_height":420,"_width":440,"text":"**ISS Commentary tells you, once an hour, what the International Space Station is flying over.**\n\n**What it does**\n- Every hour, **Get ISS Location** fetches the station's current latitude and longitude from the free Open Notify API. No API key is needed.\n- **ISS Location Commentary** turns those coordinates into one or two lively sentences about what is below.\n- A notification shows the result.\n\n**Set it up**\n- Click **ISS Location Commentary** and pick your AI provider and model, or leave them on your default. Any provider works.\n- Turn the flow on.\n\n**Make it yours**\n- Change how often it runs in Interval on the schedule trigger.\n- Change the tone in System Prompt on **ISS Location Commentary**, for example a calm documentary narrator, or ask for a fact about the country below."},"isDisabled":false,"localID":4,"typeID":"note","x":100,"y":-252},{"config":{"body":"{{result}}","forceDisplay":true,"title":"🛰️ ISS Update"},"isDisabled":false,"localID":5,"typeID":"action.notification","x":1160,"y":380}],"version":1}