Webhooks für private Nachrichten – Aufbau eines Onboarding-Bots

Ich baue derzeit einen Onboarding-Bot, der die API, private Nachrichten und Webhooks nutzt. Der Bot wird neue Benutzer interviewen und das Interview anschließend veröffentlichen, damit die Community es lesen und so den Neuling kennenlernen kann. Wäre es möglich, einen Webhook zu implementieren, der ausschließlich durch private Nachrichten ausgelöst wird? Da PMs nicht getaggt werden können, muss ich derzeit einen Webhook auslösen, sobald ein Thema erstellt oder geändert wird – was mein „Trigger-Budget“ für die Bot-SaaS schnell aufbraucht. Danke für dein 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.