CRYPTO HMAC function

The CRYPTO HMAC function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Crypto functionality to compute an HMAC signature.

For a full list of available functions, please read CRYPTO functions.


Description

The HMAC function computes a Hash-based Message Authentication Code using a secret key. HMAC is commonly used for webhook signature verification and API authentication.


Setting it up

To use the HMAC function, follow these instructions:

{{popups:rpas/add:action=crypto-hmac}}

Once on a process map:

  1. Navigate to the process where you would like to add the HMAC function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the CRYPTO HMAC option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
TextYesText-The text to compute the HMAC for
KeyYesText-The secret key for HMAC computation
AlgorithmNoSelectsha256Hash algorithm: sha256, sha512, sha1, or md5
VariableNoTexthmacVariable name to store the HMAC signature

Output variables

VariableTypeDescription
{hmac}StringThe hexadecimal HMAC signature

Errors

This action does not produce errors.


Tips

  • Use HMAC for webhook signature verification (e.g. GitHub, Stripe, Slack)
  • Always use SHA-256 or SHA-512 for new integrations

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.