auths
objectSend a test event to your trigger, and then enter the reference to the key which contains the address (e.g., event.formData.q1_typeA
)
return
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, params) => {
}
const addressObj = {}
const address = params.address
const parsedAddress = address.split("\n").map(line => {
return line.split(": ")
})
parsedAddress.forEach(line =>{
addressObj[line[0]] = line[1]
return addressObj
})
return addressObj