Copy to clipboard

How can I create a “copy to clipboard” action/workflow?

I want users to copy something… thanks!

1 Like

You can use a custom js action with the following code

navigator.clipboard.writeText('Copy this inside the clipoard')

Be aware that for security reasons, this can only be called after a user action (a click for example)

3 Likes