Please enable JavaScript
Link to code used is https://www.infallibletechie.com/2022/05/how-to-do-callout-before-creating.html