Sending Signature through a custom webhook

Hey guys, I’m trying to build a custom webhook where I’ll be sending a value from my signature field, I can’t seem to find a way to fetch that value, tried every possible way to grab that value, as a file, as a base64 string none of them seems to work, what’s the best way to approach this issue?

Here are some of the things I’ve tried -

If you look in your console logs, you’ll see that the signature value is stored as a Promise. to get the file inside of the promise, you can await it

Apr 30 4:55 PM - Codeshare tried doing it this way but still sent an empty signature collection

We can’t debug custom code unfortunately

Is there any way I can just save signature as a normal string and send through URL to my webhook? Or can you please send me some example codes for the same functionality?

you can await the file promise, then handle the file object accordingly - including stringifying, etc.

You should not await getFieldValues(). You should await the signature entry that’s returned since that’s the promise you’re looking to extract the file out of