Webhooks for private messages - building an onboarding bot

I’m currently building an onboarding bot using the api, private messages and webhooks. The bot will interview new users and publish the interview afterwards for the community to read and get to know the newbie this way. Would it be possible to implement a webhook that gets triggered by personal messages only? Since pms can’t be tagged, I currently need to trigger a webhook whenever any topic is created and changed - which reduces my „trigger budget“ of the bot saas rapidly. Thanks for your feedback!

1 Like

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.

3 Likes

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

image

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…

3 Likes

So here’s the funnel after one day:

image

We’re very happy with the results.

2 Likes