Remote Actions ✨

Remote Actions Basics

Creating remote actions in Alice allows you to use Alice to run automations on other platforms.
Remote actions allow Alice to communicate with other applications through webhooks. Webhooks are a way for applications to communicate with each other by sending data back and forth.
Here are the steps to create a remote action to send a message to Slack:

  1. Define a snippet in Alice. A snippet is a pre-built prompt that Alice can use to perform a specific task.
  2. Configure the snippet to send data to a webhook URL. The webhook URL is the address of the application that Alice will send the data to.
  3. Create a response to the webhook. The response is a JSON object that tells Alice what to do with the data it receives.
    Once you have created a remote action, you can use it to send messages to Slack. The user types a message into Alice and the message is sent to Slack. Alice can then send a response back to the user saying that the message has been sent.