Create a custom workflow

Every automation starts with a trigger and an action. Select one from each app to generate a workflow tailored to your needs.

Slack
Trigger: Watch Direct Messages
YepCode Run
Action: Select an action
1. Select a trigger
  • Triggers when a new message is added to a direct message channel.

  • Triggers when a new file is added.

  • Triggers when a new interactive event has arrived.

  • Triggers when a new message is added to a multiparty direct message channel.

  • Triggers when a new message or another event is created.

  • Triggers when a new message is added to a private channel.

  • Triggers when a new message is added to a public channel.

  • Triggers when a new message is scheduled.

  • Triggers when a new user is added or an existing user has changed. Only emit the latest change since the last scenario run.

2. Select an action
  • Execute JavaScript or Python code on demand — directly from your workflows or AI agents. It runs in secure cloud sandboxes with full support for NPM and PyPI dependencies (https://yepcode.io/docs/dependencies), access to secrets, APIs, and databases. Perfect for quick scripts, dynamic logic, or AI-generated code.

  • Move your complex business logic into YepCode processes and trigger them from your workflows using dynamic input parameters. It’s the most flexible way to connect with your APIs and services — using real code, with zero DevOps overhead.

Select a trigger and an action

Create workflow (opens in a new tab)