A Robo Lawyer Slack bot, powered by ChatGPT

Overview

Robo Lawyer for your slack channel, powered by ChatGPT

Deploy this function on flows.network, and you will get a Slack bot that uses ChatGPT to respond to every legal question in your Slack workspace automatically.

See the following example.

Please note, the answer from ChatGPT is only for reference.

Prerequisite

You will need an OpenAI API key. If you do not already have one, sign up here.

Deploy ChatGPT Slack bot on your Slack Channel

To install this Robot Lawyer ChatGPT Slack App, we will use flows.network, a serverless platform that makes deploying your own app quick and easy in just three steps.

Fork this repo

Fork this repo and go to flows.network to deploy your function.

Deploy the code on flow.network

  1. Sign up for an account for deploying flows on flows.network. It's free.
  2. Click on the "Get Started" button and go to a new page, "My flows".
  3. Click on the "Create a Flow" button to start deploying the ChatGPT Slack bot.
  4. Authenticate the flows.network to access the robo-lawyer repo you just forked. Don't forget to choose "With Environment Variables", which we will configure the required parameters. Once done, click on the "Next" button.

image

  1. Fill in the required Environment Variables. In this example, we have three variables. One is workspace. Fill in the Slack workspace Name you want to connect here. The second one is channel. Fill in the Slack channel under the Slack workspace you just entered. The last one is openai_key_name. Fill in the name you want to name your OpenAI Key.

Please note, the answer from CHatGPT is only for reference.

  1. Name your flow, and click on "Turn on and Save" button to deploy the flow function.

Configure SaaS integrations

After that, the flows.network will redirect you to the flow details page automatically. In the Flow details tab, we can set up SaaS integrations required by the flow. image

  1. Click on the "Connect" button to authenticate your OpenAI account. You'll be redirected to a new page where you could copy and paste your OpenAI API key and then name the key. Note that the name you enter here should be the same as the name in the environment variables.

image

  1. Click the "Connect" button to authenticate your Slack account. You'll be redirected to a new page where you must grant flows.network permission to install the flows-network-integration bot on a Slack worksapce. This workspace is the one you entered into the environment variables above.

That's all. As soon as the flow function's status becomes ready, the ChatGPT Slack App goes live. Go ahead and chat with ChatGPT by asking a legal question in the channel!

flows.network is still in its early stages. We would love to hear your feedback!

Others

If you want to build locally, make sure you have installed Rust and added wasm32-wasi traget.

cargo build --target wasm32-wasi --release
You might also like...
A Simple, But amazing telegram bot, Made using the Rust language!

Telegram bot in Rust A fun Telegram bot made using Rust language.

This is a Telegram bot I'm working on in my free time to learn Rust.

Maldness Bot This is a Telegram bot I'm working on in my free time to learn Rust. Building docker build -t . should be enough.

Play Onitama in your browser, compete with friends or lose to a bot

Play Onitama in your browser, compete with friends or lose to a bot

A Discord bot for lichess and Rosen related things
A Discord bot for lichess and Rosen related things

liro Liro is a Discord bot that follows in the footsteps of Lichess-discord-bot, without necessarily aiming to replace it. The main pain point that th

This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.
This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.

Firefly Telegram Bot Fireflies are free, so beautiful. (Les lucioles sont libres, donc belles.) ― Charles de Leusse, Les Contes de la nuit This is a s

Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁)

Sophy Bot Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁) Contribution Do you like me and want to help me?

Telegram Bot Template with Cloudflare Workers

cf-workers-telegram-bot-template Usage This template starts you off with a src/lib.rs file, acting as an entrypoint for requests hitting your Worker.

Rust telegram bot library for many runtimes

Telbot Telbot provides telegram bot types and api wrappers. Specifically, telbot now supports: telbot-types: basic telegram types / requests / respons

Just a bot for Neovim's Matrix room(s)

nvim-matrix-bot Currently just supports replying to messages with :h some_doc or similar in them with a link to the docs on Neovim's website. Plan i

Owner
flows.network
Automate all your software tasks. Create GitOps, ChatOps, and DevOps automations using serverless functions!
flows.network
Edgelord is a library for Cloudflare Workers. You can scaffold a basic bot for discord, slack, etc.

Edge Computing + chūnibyō = Edgelord ✨ ?? Edgelord Edgelord is now working. You can contribute for it. Edgelord is a Rust library for cloudflare worke

null 23 Dec 26, 2022
An out-of-box ChatGPT bot for Telegram.

TeleGPT API Docs | Releases | Twitter An out-of-box ChatGPT bot for Telegram. TeleGPT is a Telegram bot based on teloxide framework and async_openai.

null 169 Apr 7, 2023
An out-of-box ChatGPT bot for Telegram.

TeleGPT API Docs | Releases | Twitter An out-of-box ChatGPT bot for Telegram. TeleGPT is a Telegram bot based on teloxide framework and async_openai.

null 173 Apr 16, 2023
A Telegram ChatGPT bot

A customizable Telegram bot with a ChatGPT (or GPT4, bring your own API key) backend. You can configure the bot’s context and prompt in template settings.

Chase Zhang 18 Nov 25, 2023
🦜 A hassle-free, highly performant, host it yourself Discord music bot built with Serenity in Rust. Powered by youtube-dl and Genius.

?? A hassle-free, highly performant and fast evolving Discord music bot built with Serenity in Rust. Deployment Usage Just create a bot account, copy

Miguel Mano 82 Dec 14, 2022
Matrix bot inspired by Shirt Bot.

matrix-openai-bot Matrix bot inspired by Shirt Bot. Usage Run the bot after building it or grabbing the latest release $ matrix-openai-bot Edit the ge

null 5 Oct 26, 2021
Rewrite of the Discord Bot used for Managing the Infinity Bot List Servers.

Arcadia Rewrite of the Discord Bot used for Managing the Infinity Bot List Servers. Contributing Always run fmt.sh before making a Pull Request! MacOS

InfinityBotList 3 Dec 15, 2022
Log your spending in seconds with short text snippets. Powered by Rust, Cloudflare Workers and Svelte.

FastSpend Log your daily spending lightning fast with short text snippets! FastSpend is a tool to log your spending in seconds, powered by a lightning

Phoomparin Mano 24 Sep 13, 2022
Shows my Spotify status on a small screen. Powered by ESP-IDF & built with 🧡 in Rust! 🦀

ESP Display A small embedded project that shows what I'm listening to on Spotify by using my Spotify service. Example Notable Features ESP32-S3 board

Isaiah Gamble 3 Apr 10, 2024
A simple bot for discord.

Rusky Um simples bot para o discord! ?? Executando ⚠️ Antes de tudo você precisa do Rust Instalado você pode instalar clicando aqui Preparando Primeir

Rusky 3 Aug 12, 2022