Saving variables from Figma user input to external api call

I’m wondering if there’s a way to collect user inputs by creating a form inside of Figma to send to an external system to save these variables.

For example, collecting a name inside of Figma, then sending it to a Google Sheet. I’ve seen it work the other way.

Yes, you just need to pass this data from the plugin backend code to the iframe and make a regular network request from there.

Great - ty for cluing me in on where to start!

@Gleb do you know how this can be done in presentation mode? Or does it only work in the editor?

Plugins don’t work in presentation mode and can’t interact with it in any way.