How to send data from custom GPT to my backend URL


I created a food gpt and the gpt finally shows data as a json, INSIDE the chat UI. Now I want to send that data to my heroku db. I believe it has got something to do with the ‘actions’ but I am unable to find any documentation about that. Appreciate any help here to send custom GPT info to a POST url. Thank you!