Explore Plans
Mobile menu Close menu
BotGhostBotGhost

Trigger a custom event

This action will trigger an associated custom event

Developer info

API endpoint slug
botghost.custom_event
Filter code method
Botghost.customEvent.skip(string?: reason)
Runtime method
runAction("botghost.custom_event", {})

Action fields

Bot ID Dropdown list

Label
Bot
Helper text
Which bot to trigger this event on
Slug
bot_id
Required
true
Can have default value
false

Event ID Dropdown list

Label
Custom Event
Helper text
The BotGhost Custom Event to be triggered
Slug
event_id
Required
true
Can have default value
false

Variable 1 Text input > Short text

Label
Variable 1
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable1}
Slug
variable_1
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable1(string: variable1)

Variable 2 Text input > Short text

Label
Variable 2
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable2}
Slug
variable_2
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable2(string: variable2)

Variable 3 Text input > Short text

Label
Variable 3
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable3}
Slug
variable_3
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable3(string: variable3)

Variable 4 Text input > Path to a folder

Label
Variable 4
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable4}
Slug
variable_4
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable4(string: variable4)

Variable 5 Text input > Short text

Label
Variable 5
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable5}
Slug
variable_5
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable5(string: variable5)

Variable 6 Text input > Short text

Label
Variable 6
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable6}
Slug
variable_6
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable6(string: variable6)

Variable 7 Text input > Short text

Label
Variable 7
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable7}
Slug
variable_7
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable7(string: variable7)

Variable 8 Text input > Short text

Label
Variable 8
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable8}
Slug
variable_8
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable8(string: variable8)

Variable 9 Text input > Short text

Label
Variable 9
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable9}
Slug
variable_9
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable9(string: variable9)

Variable 10 Text input > Short text

Label
Variable10
Helper text
An optional key value variable to pass along to your custom event as {ifttt_variable10}
Slug
variable_10
Required
false
Can have default value
true
Filter code method
Botghost.customEvent.setVariable10(string: variable10)