Webhooks per messaggi privati: costruire un bot di onboarding

Sto attualmente costruendo un bot di onboarding utilizzando l’API, i messaggi privati e i webhook. Il bot intervisterà i nuovi utenti e pubblicherà l’intervista in seguito, in modo che la comunità possa leggerla e conoscere così il nuovo arrivato. Sarebbe possibile implementare un webhook che venga attivato solo dai messaggi privati? Poiché i messaggi privati non possono essere etichettati, attualmente devo attivare un webhook ogni volta che viene creato o modificato un argomento, il che consuma rapidamente il mio “budget di attivazioni” del SaaS del bot. Grazie per il vostro feedback!

The onboarding bot you are creating is cool! Please let us know how it goes and share if you can.

Not sure about the rest of your request, but this is not true. You can allow staff to tag PMs via an admin setting.

Also I have a bulk pm method I use to send PMs via the API, and it is possible to add tags.

Thanks, I got it working this way!

Would love to share, but I guess it’s not practicable to replicate since I’m not a coder, but a terrible hacker. :wink:

I let Discourse fire a webhook for a user event, then use Zapier to filter for a user creation event

Then I trigger another webhook, this time in Zapier to get the Bot saas flowxo.com going which asks a Google spreadsheet for the messages to send to the user and stores the progress in another spreadsheet. Your hint helped to get rid off Zapier for the rest of the interview process.

In the end Flowxo puts all questions and answers in one string, posts it in the thread and turns the post into a wiki, so that the user can make final changes. If he then answers with “ready”, the wiki post gets replicated in a public thread together with a link to the profile of the new user. He gets a nice badge and that’s it.

We will test this next week with quite a few users who are on our “waiting list”. I will report back, if the conversion is good. Maybe it’s worth becoming a plugin…

So here’s the funnel after one day:

image

We’re very happy with the results.