Request
API
const fetch = require('node-fetch');
const jsonBody = {"code" : {{agent.config.puppeteer | stringify}} , "request" : {{request | stringify}} };
fetch('https://chrome.agenty.com/function?apiKey={{user.api_key}}', {
      method: 'post',
      body:    jsonBody,
      headers: { 'Content-Type': 'application/json' },
    })
    .then(res => res.json())
    .then(json => console.log(json));
Logs
{{message}}
Response
{{response | json}}