Back
Button widget Button press. BotGhost Trigger a custom event.

Trigger BotGhost custom event with Button widget

Connect

How this automation works

Activate your BotGhost bot instantly with a quick tap. This Applet runs whenever you press the Button widget on your device, triggering a custom event in your selected BotGhost bot. It's perfect for quickly executing custom commands or automations on demand without logging into your bot panel. Note: Install the IFTTT app and add the Button widget to your home screen.

If
Button widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
BotGhost icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger an associated custom event
bot_id event_id variable_1 variable_2 variable_3 variable_4 variable_5 variable_6 variable_7 variable_8 variable_9 variable_10

Services used in this Applet

Create your own Button widget and BotGhost workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

4 triggers, queries, and actions

Action Block triggered

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an IFTTT action block is triggered from a custom command or event

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Bot Status

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns whether a bot is online or not

Trigger a custom event

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger an associated custom event

Action Block triggered

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an IFTTT action block is triggered from a custom command or event

Bot Status

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns whether a bot is online or not

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Trigger a custom event

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger an associated custom event

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Button widget and BotGhost

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button widget

About BotGhost

Online no-code Discord Bot maker. Join over 1.8 million users and create your own fully-fledged Discord bot for free. Choose from premade modules or design intricate custom commands and events.

Explore BotGhost

More integrations with BotGhost

IFTTT helps all your apps and devices work better together

Get started for free