File naming
Place a file named<request-name>.after.js next to your request file:
after.js in that folder:
The request-level
<name>.after.js runs first, then the folder-level after.js. Both scripts can call setEnvironmentVariable and setSecret — all mutations from both are applied together.