Skip to content

Instantly share code, notes, and snippets.

@alessandroprudencio
Last active October 5, 2022 17:44
Show Gist options
  • Save alessandroprudencio/e30da576b3433a11fdccb0236167893c to your computer and use it in GitHub Desktop.
Save alessandroprudencio/e30da576b3433a11fdccb0236167893c to your computer and use it in GitHub Desktop.
examples behavior score table
// example create score status received status message from z-api
{
id: 1,
target_type: "personPhone", // model target
target_id: 1, // id from person_phones
event: "ZapiService.received", // event from status received from z-api
score: 10,
source_type: "WhatsappMessage", // step_runner from batch_step
source_id: 16519, // id from batch_step
},
// example entity_config
{
id: 1,
entity_id:1, //
key: "ZapiService.received", //
value: 10, //
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment