# Hey is it possible to create hmac signature using make.com functions?

**URL:** <https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446>\
**Category:** Questions\
**Tags:** functions\
**Created:** [February 25, 2025, 5:09pm UTC](https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446 "2025-02-25T17:09:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuba](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kuba](https://community.make.com/u/Kuba)\
**Post date:** [February 25, 2025, 5:09pm UTC](https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446/1 "2025-02-25T17:09:49Z")

</div>

Hey everyone,

Basically, I want to recreate this Java Script code in [make.com](http://make.com) to get the webhook signature. The timestamp has already been handled “(Timestamp \* 1000)”, the hmac/webhook signature is the most important. The challenge is that I don’t want to use any external services like ‘custom JS’, etc. I just want to use [make.com](http://make.com)’s built-in functions and tools. I believe it’s possible, but you can correct me if I am wrong.

"const crypto = require(‘crypto’);

const SECRET\_KEY = ‘’  
const timestamp = Date.now();

const payload = {  
“campaign\_id”: “”,  
“webhook\_id” : “”,  
“leadData”: {  
“phoneNumber”: “”,  
“variables”: {  
“name”: “”,  
“monday\_id”: “”  
}  
}  
};

const signature = crypto  
.createHmac(‘sha256’, SECRET\_KEY)  
.update(timestamp + JSON.stringify(payload))  
.digest(‘hex’);  
return {signature, timestamp};"

Cheers,  
Jakub 🙂

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 26, 2025, 2:39am UTC](https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446/2 "2025-02-26T02:39:42Z")

</div>

Welcome to the Make community!

Please see these duplicate questions previously asked and answered by other community members:

- [Sha256 hmac](https://community.make.com/t/sha256-hmac/50966)
- [How to generate an HMAC SHA256 signature on make](https://community.make.com/t/how-to-generate-an-hmac-sha256-signature-on-make/17925)
- [Binance HTTP Signature (hmac sha256 hash)](https://community.make.com/t/binance-http-signature-hmac-sha256-hash/44602)

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Kuba](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kuba](https://community.make.com/u/Kuba)\
**Post date:** [February 26, 2025, 8:02am UTC](https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446/3 "2025-02-26T08:02:03Z")

</div>

Hey,

Thanks for answer, yeah I check those already, but I still have a problem to create something like this using functions “(timestamp + JSON.stringify(payload))”.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [May 27, 2025, 7:12am UTC](https://community.make.com/t/hey-is-it-possible-to-create-hmac-signature-using-make-com-functions/71446/4 "2025-05-27T07:12:31Z")

</div>


