Use the HTTP Request module with custom headers
Did you know that the HTTP Request module can fetch custom headers from the incoming message? A pretty common scenario is that you want to add a Bearer token from an external system in the HTTP Request. To achieve this, you can fetch the token from the incoming message via template syntax and use it in the Message Template as shown below. The Message Template module will then map the token value into the message.
Example flow

Message Template module


HTTP Request module

Tip: Instead of requesting a new token every time, you can store the token in the Key/Value Store and refresh it according to the expiration time.
