Register participants to your upcoming Livestorm events!
Description
Using this App, you can easily list your upcoming events (webinars, conferences, etc.) and their sessions, and register participants, from your chatbot. This is the perfect App for a lead generation chatbot, connected to Livestorm!
To get started, you will need a Livestorm account and an API key, as described in the Livestorm documentation.
Usage
With this App, you can perform 3 actions:
- get a list of your events
- given an event ID, get a list of its sessions
- register new participants to a session
See examples below for each available method.
List Events
do App(
"livestorm",
method="listEvents",
)
List Event Sessions
do App(
"livestorm",
method="listEventSessions",
session_id="SESSION_ID"
)
Register a Participant to a Session
do App(
"livestorm",
method="registerParticipant",
session_id="SESSION_ID",
participant={
"first_name": "John",
"last_name": "Doe",
"email": "john@doe.com",
"company": "CoolCompany"
},
)
At least the first_name
, last_name
and email
fields of the participant
object are required. Depending on your event's configuration, some additional fields may also be required (for instance, the company
field here), or optional. The fields can be configured from the Livestorm administration panel.
If the participant already exists, or the session is not published, or a required field is missing, or any other error as returned by Livestorm's API, this call will fail and an error message will be available in the response data.