auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}if (steps.trigger.event.url.endsWith("/favicon.ico")){
$end("favicon.ico request")
}auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}const axios = require('axios')
const response = await axios({
method: "GET",
url: "http://api.open-notify.org/iss-now.json"
})
return response.dataauths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}const { DateTime } = require('luxon')
return DateTime.fromSeconds(steps.get_iss_position.$return_value.timestamp).toFormat('yyyy-MM-dd HH:mm:ss');Add a single row of data to Google Sheets
Use structured mode to enter individual cell values. Disable structured mode to pass an array with each element representing a cell/column value.
auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}await $respond({
status: 200,
immediate: true,
body: steps.get_iss_position.$return_value.iss_position
})