> For the complete documentation index, see [llms.txt](https://polkadot.novabloq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkadot.novabloq.com/element-polkadot-wallet/actions/sign-a-message.md).

# Sign a message

## Demo

Find an example in the demo app editor [here](https://bubble.io/page?version=test\&name=simple_connect\&id=polkadotjs\&tab=tabs-2)\
To see how it works in the workflow, find the Sign message folder in the Workflow folders, there you will see all related actions and events.

<details>

<summary>Where to find Workflow Folders?</summary>

![](/files/zGbY3sewC45m0V6UdIjf)

![](/files/jwnyZFMH23prnAHhNfqd)

</details>

## Events

### Message Signed

If the user will sign the message, an event will be triggered **Message Signed**

The signature is available in the **state** **Signature**.

![](/files/A2p5iSMcQLiC9eeob2M0)

{% hint style="info" %}
Note: The state will be available only after the event Message Signed was triggered
{% endhint %}

### **User Canceled the Action**

If the user will deny (cancel) signing message, an event called **User Canceled the Action** will be triggered.\ <br>
