Thanks. This AppleScript should "click" the right menu:
tell application "TuneIn" to activate
tell application "System Events"
tell process "TuneIn"
tell menu bar item 7 of menu bar 1
click
click menu item "Toggle Play" of menu 1
end tell
end tell
end tell
Run it in a Run Script Action with Language = "/usr/bin/osascript (AS)".
@Jordi To make things easier for others to help you out, here are a few suggestions of what you should include in a post calling out for help:
The link to the app/site you're referring to (there are often more than one by the same name) and the exact version if you're referring to an app.
Your workflow-in-progress to show what you've achieved so far (and so someone else can build upon what you've done rather than have to start from scratch)
If you've taken the time to investigate whether the app has API documentation, links to anything relevant you can provide
Any other information about what you've tried, what works and doesn't, etc...
Moderators are giving their time to help the community, so the more information you provide, the more likely someone will be able to untangle what's missing and be able to help