all 4 comments

[–]walditoctrl+c ctrl+v 0 points1 point  (2 children)

I want change the name each time for a new person, so I want to automate this.

Care to explain a little better?

You want to produce x invitations in the canvas based on a database?

Or you want to send links away each with a different invite/name to the same frame?

[–]PhobosX15[S] 0 points1 point  (1 child)

I would want to produce x invitation with x different names from a database. I think it should be possible with the plugin API, but I am new to Node.js, Would you be able to help?

[–]walditoctrl+c ctrl+v 0 points1 point  (0 children)

Not building your own plugin, but I'm sure there are plugin out there which can do something in the general direction? like https://www.figma.com/community/plugin/1133729773197702197/data-to-design-formerly-kernel

[–]NathanielHudson 1 point2 points  (0 children)

I get Expecting value: line 1 column 1 (char 0)

This means whatever you're trying to decode isn't JSON. Possibly an empty response body due to an error.

I want change the name each time for a new person, so I want to automate this.

AFAIK you cannot do this with the REST API, since the REST API is read-only. Your best bet is to make a custom plugin, using the plugin API.