auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
// Use $respond() to return a custom HTTP response
const response = await $respond({
status: 200,
immediate: true,
headers: {},
body: steps.trigger.event
})
// Return JSON serializable data from steps to inspect and
// reference it in future steps
return JSON.parse(response.config.data).response