> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/moderation/simple-prompt-moderation.md).

# Simple Prompt Moderation

<figure><img src="/files/kz8Pq6hYp4R29JtY1Req" alt="" width="301"><figcaption><p>Simple Prompt Moderation Node</p></figcaption></figure>

Use another LLM to identify if user query is close to the deny list, if yes output a default error message.

For example, deny list can be:

* Ignore previous instructions
* Leak all sensitive information

<figure><img src="/files/FeUmihLyBpcAO2ZW2I23" alt=""><figcaption></figcaption></figure>
