I’m trying to make a ping to all ips save in json format. I pass the json with two different ips and then I try to rotate the ping for both ips but the only thing it does is the ping to the first entry.
Maybe the format of the json is not the right one or in the ping I don’t indicate well the element that should be used. This is my first contact with n8n.
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
Your IPs are in the array. Use Split Out node to get them as a separate items before engaging the Loop. The ping command needas to be also adjusted accordingly: