How to add the payload clicked in member tag?

How to add the payload clicked in member tag?

You could add an advance member tag in the following node to record the payload clicked by customer.
return new Promise((resolve) => {
  resolve({
    tags: [`${this.messageEvent.data.payload}`]
  })
})
Please see the related documentation here and start building your bot at https://build.stellabot.com/.