Plugin to send messages from a prototype to a web server

I’m working on building a prototype that updates screen content and simultaneously triggering behaviors on hardware.

  • I have my hardware set up where I can run a command on a Raspberry Pi and get the desired reactions.
  • I also have an HTTP server I can send POST requests with properly formatted JSON to trigger the Raspberry Pi to run the commands that I want.

The problem I’m running into is figuring out how to send those commands from directly within a Figma prototype. Does a plugin exist that does this? Is there a hacky means of putting a specially formatted URL in a link? I’m open to anything.

For prototypes it might be worth reviewing Figproxy here : Figproxy: A Free and Open Tool to Connect Figma and Arduino

I was able to follow these instructions for Arduino