Build Your First Workflow
Workflows tell your Discord bot what to do. In Picotat, you can build them visually in the Workflow Designer.
What a Workflow Can Do
A workflow can help your bot:
- reply to slash commands
- react to messages or events
- send responses based on conditions
- guide repeated tasks without you doing everything manually
1. Open the Workflow Designer
Go to the Workflow Designer in Picotat and choose the option to create a new workflow.
2. Name the Workflow
Pick a name that makes the workflow easy to find later. If you plan to create several workflows, use names that describe their purpose clearly.
Examples:
- Welcome Message
- Help Command
- Auto Reply for Rules
3. Choose a Trigger
Start by deciding what should make the workflow run.
Common triggers include:
- a slash command
- a message event
- a member joining the server
4. Add the Actions
After the trigger, add the actions you want the bot to perform.
For example, you might:
- send a reply
- check a condition before responding
- chain several steps together in order
5. Save the Workflow
Save often while building. This makes it easier to return to your work if you need to pause.
6. Test with an Online Bot
To test the workflow:
- Make sure your bot is online.
- Open the workflow.
- Run the test or trigger the action in Discord.
- Confirm the bot behaves the way you expected.
If the result is not right, update the workflow and test again.
7. Attach the Workflow to a Bot
When the workflow is ready:
- Open the workflow or bot settings.
- Select the bot you want to use.
- Attach the workflow.
- Save your changes.
Helpful Tips
- Start with one simple command before building a large workflow.
- Use clear names for triggers and actions so the workflow stays easy to read.
- Test after each small change instead of rebuilding everything at once.
- Keep separate workflows for separate jobs when possible.
Need Help?
If your workflow saves correctly but your bot does not respond, see Troubleshooting.