
You can use Jinjava in [connections](/docs/settings/tool/connections) to provide context or work with parameters.



<div class="admonition admonition-tip"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" /></svg></div><div class="admonition-body"><div class="admonition-content">

If you use Visual Studio Code as your editor, you can use code snippets to speed up working with inserts.  
You can find the snippets in our Github repository: [https://github.com/Synerise/jinja-code-snippet](https://github.com/Synerise/jinja-code-snippet)

</div></div></div>



## Custom connection request context

You can use the following values to access response details when making a token request required for the target request in ["Outgoing Integration" node](/docs/automation/actions/webhook-node), ["Get File" node](/docs/automation/integration/http-integrations/http-get-file), and ["Send File" node](/docs/automation/integration/http-integrations/http-send-file):

- `{{secret}}` - retrieves the value provided in the **Secret** field in the Custom connection type:  
    <figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/docs/automation/_gfx/secret-inserts.png" class="medium" alt="The Secret field in the configuration of the custom connection type available in some integration nodes"><figcaption>The Secret field in the configuration of the custom connection type available in some integration nodes</figcaption></figure>
- `{{authResponseStatusCode}}` - retrieves the status code of the response; value type - number
- `{{authResponseHeaders}}` - retrieves the response headers; value type - object
- `{{authResponseBody}}` - retrieves data from the response body; value type - string

### Example


<pre><code class="language-jinjava">Bearer {{ authResponseBody | fromjson | attr("token") }}</code></pre>
  

It takes the `JSON` response body stored in `authResponseBody`, parses it into a usable structure, extracts the value of the `token` field. Outputs a string like: `Bearer "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."`