# Write Function Node Code with ChatGPT

**URL:** https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147
**Category:** Share Your Nodes
**Created:** [3 May 2023 11:36 UTC](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147 "2023-05-03T11:36:24Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [30 July 2023 17:28 UTC](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147/21 "2023-07-30T17:28:16Z")

</div>

> [@MaxBaines](#):
>
> Compliance and DPA are inline with any other cloud Provider or SaaS.

I work in the UK Health Industry - our requirements are a little more precise than this 😁

However, the UK Government and our National Cyber Security Centre (NCSC) have both published new guidelines and the guidance I've published internally to our staff reference those.

---

<div class="post-metadata">

### Author: ![wilsomrm2](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@wilsomrm2](https://discourse.nodered.org/u/wilsomrm2)
#### Post date: [11 August 2023 01:27 UTC](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147/22 "2023-08-11T01:27:43Z")

</div>

This is what I did, works well. You do need a key from openAI

 ![Screenshot 2023-08-11 at 1.23.28 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/8393820cc0563e5111a4b4ee102ba79e9bb2b7ec.jpeg)

[Previous page](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147.md?page=1)
