Skip to content

The moment it happens

Post new bookings to Discord and Teams

Each time someone books a meeting through your form, the details are posted to your Discord server and your Teams channel.

Runs
The moment it happens
Apps
Discord, Microsoft Teams
AI
Not needed
Access
Discord Send Messages; Teams ChannelMessage.Send

Send this to your assistant

Create a ClickRuntime automation: when a meeting is booked through my form, post the details to our Discord channel and our Teams channel.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A small studio talks with its community on Discord and runs its internal work in Microsoft Teams. Client calls and community sessions are booked through a web form, but the booking only reaches whoever owns the form's inbox. Others find out at the last minute, or turn up to a call nobody prepared for.

This automation posts each booking to both places as soon as the form is submitted: name, time and topic. Everyone who needs to know sees it where they already work, without anyone forwarding emails.

What you get out of it

  • No more surprise meetings

    Bookings appear in the team's channels the moment they happen. People can prepare, or say early that they cannot attend.

  • Both groups stay informed

    Community moderators on Discord and staff in Teams see the same booking. Nobody has to relay it from one app to the other.

  • A visible log of bookings

    Scrolling the channel shows recent bookings in order. It is an easy way to see how busy the week is.

  • Works with the form you already use

    Any form tool that can send its answers to a web address works. Nothing changes for the people who book.

How it works

What happens, step by step

  1. When someone submits your booking form, ClickRuntime receives the answers straight away.

  2. It formats the name, time and topic into a short message.

  3. The message is posted to your Discord channel.

  4. The same message is posted to your Teams channel.

Before it runs live

  • Connect Discord
  • Connect Microsoft Teams
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Post new bookings to Discord and Teamsjust nowSucceeded
Teams · Bookings📅 New booking: Acme Robotics on 22 Oct at 14:00. Topic: onboarding call

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Discord and Microsoft Teams steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
meeting_and_deadline_reminders_to_discord_and_teams.pyexample
from clickruntime import on_event, credentials, http, state

TEAM_ID, CHANNEL_ID = "your-team-id", "your-channel-id"

@on_event
def handle(event):
    if state.get(f"done:{event.event_id}"):
        return {"skipped": "duplicate"}
    b = event.json or {}
    text = f"📅 New booking: {b.get('name', 'Someone')} on {b.get('date', '?')} at {b.get('time', '?')}. Topic: {b.get('topic', 'not given')}"
    http.post(credentials.secret("DISCORD_WEBHOOK_URL"), json={"content": text}).raise_for_status()
    http.post(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{CHANNEL_ID}/messages",
              headers={"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"},
              json={"body": {"content": text}}).raise_for_status()
    state.set(f"done:{event.event_id}", True)
    return {"posted": True}

FAQ

Common questions

Which booking details are posted?
The name, date and time, and topic from the form. You can add or remove fields to match what your form collects.
Can I post only to one of the two apps?
Yes. Leave out either channel and bookings go only to Discord or only to Teams.
Can it also post reminders before deadlines?
Yes, a daily scheduled version can read upcoming deadlines and post the same kind of message each morning.
What permissions does it need?
Discord Send Messages; Teams ChannelMessage.Send. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Post new bookings to Discord and Teams” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.