Discord API - Integration Tutorial

Modified on Mon, 11 Sep, 2023 at 6:25 PM

How to connect Stammer.ai to your Discord using Zapier



Step 1: The Trigger = New Message Posted to Channel




Step 2: Check to make sure the message is coming from a human

In this example I named my bot stammer.ai. So in this step the Zap is checking to see if the bot sent the message. If it does not contain stammer.ai it means someone else sent the message and the Zap can continue. This step is to prevent the bot from responding to itself in an endless loop. (For some reason in Zapier, the Discord app doesn't have a built in protection for this like Slack app does).




Step 3: Send the user's message to Stammer.ai via white labeled webhook




Step 4: After receiving the response from your stammer.ai chatbot you can then send it back to the user in the same channel.



















Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article