Streamplace chatbot (paypal)

Seja seu próprio chatbot no Streamplace respondendo comandos

place.stream.chat.message
Lexicon
place.stream.chat.message
Operations
Record created

Steps (3)

Variableemail
Value
[email protected]
Note
Email do PayPal
Conditionbranch
  • If event.commit.record.streamer equals {{self}} - Mensagem foi enviada no próprio canal
  • and event.commit.record.text equals !paypal - Comando
Then

Create a recordAction 1

Target Collection
place.stream.chat.message
Record Template
{
  "createdAt": "{{now}}",
  "reply": {
    "parent": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    },
    "root": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    }
  },
  "streamer": "{{self}}",
  "text": "{{email}} (no stream alerts)"
}