An Interest In:
Web News this Week
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
Automated Workflows: Sending your form response to Discord
If you want to establish some nice automated integration between two or more applications, you can make use of low-code tools like Zapier or Integromat. These tools have over 1000 apps available for integration.
You can link up multiple applications and create a smooth automation workflow.
In this article, well make use of Integromat to connect Discord to a form.
Creating our Integromat account
- Wed open Integromat homepage and proceed to sign up/in.
- Click on the Create a new scenario button
With the huge +, we can start adding an application and create connections with other applications.
Configuring a webhook
Well set up a webhook URL that we can send form data to and trigger appropriate reactions
- So, wed click the big + button and select the Webhooks application
(Never mind my sketches, you deserve a better artist )
Select Custom webhook then select Add and give the custom webhook a name. Wed get a webhook URL that we will keep for later.
Wed add a new module
- Wed select the Post a Message to discord, add a new connection with any text in the content and approve Integromat permissions to our Discord server. Then we should see the bot in our server:
- Wed create a simple HTML form next to send data to the webhook URL by adding the URL to the
action
attribute. (This is just a demo form, you can choose how to send data and how your application should react to each form submission):
<!DOCTYPE html><html lang="en"><head> <title>Form</title></head><body> <form method="post" action="https://hook.integromat.com/hxmcktv6o41acj46lcuw6vio7iqhyisg"> <label for="firstname">First name</label> <input type="text" name="firstname" id="firstname"> <br /> <br /> <label for="message">Message</label> <br /> <textarea name="message" id="message" cols="30" rows="10"></textarea> <button type="submit">Submit</button> </form></body></html>
Open your Integromat scenario, click on Run once, open the web page and send some data to access the placeholders.
We now have access to our form response placeholder. Wed head over to our scenario, click on the Discord module edit the content. Then activate the scenario:
- Submit the form again and we can see our response
Conclusion
I hope you find this article helpful in creating an automated workflow between some applications you regularly use.
Though Integromat free plan has some limitations, it can pretty much satisfy some of your automation needs.
This is not any form of promotion, I am only sharing a tool I find useful.
Thanks for reading!
Original Link: https://dev.to/zt4ff_1/automated-workflows-sending-your-form-response-to-discord-40nm
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To