# Sending Signature through a custom webhook

**URL:** <https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665>\
**Category:** Support\
**Created:** [April 30, 2024, 4:56pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665 "2024-04-30T16:56:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikoloz](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@nikoloz](https://community.feathery.io/u/nikoloz)\
**Post date:** [April 30, 2024, 4:56pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/1 "2024-04-30T16:56:31Z")

</div>

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 -  
[https://codeshare.io/nAPk0V](https://codeshare.io/nAPk0V)  
[https://codeshare.io/1VDVQB](https://codeshare.io/1VDVQB)

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [April 30, 2024, 4:59pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/2 "2024-04-30T16:59:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nikoloz](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@nikoloz](https://community.feathery.io/u/nikoloz)\
**Post date:** [April 30, 2024, 5:10pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/3 "2024-04-30T17:10:00Z")

</div>

[Apr 30 4:55 PM - Codeshare](https://codeshare.io/nAPk0V) tried doing it this way but still sent an empty signature collection

 ![1](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/84449f427c8430685c144cce4bef298e1592eeec.png)

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [April 30, 2024, 5:11pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/4 "2024-04-30T17:11:47Z")

</div>

We can’t debug custom code unfortunately

---

<div class="post-metadata">

**Author:** ![nikoloz](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@nikoloz](https://community.feathery.io/u/nikoloz)\
**Post date:** [April 30, 2024, 5:13pm UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/5 "2024-04-30T17:13:16Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [May 1, 2024, 6:32am UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/6 "2024-05-01T06:32:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [May 2, 2024, 6:46am UTC](https://community.feathery.io/t/sending-signature-through-a-custom-webhook/665/7 "2024-05-02T06:46:32Z")

</div>

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
