Create Brainshark Session and Log Result
Recipe ToolsWorkatoDeveloper ToolAPI Integration
What it does
When someone calls this automation via a function, it creates a Brainshark session through an HTTP request. If the request fails, this automation retries once, then stores the outcome in a data table.
Who it's for
Sales operations teams who need to generate Brainshark sessions programmatically without manual intervention.
How teams use this
Generate sessions for sales outreach
Create Brainshark sessions on demand when a sales rep needs to send a personalized video message to a prospect. The session is stored and ready to share immediately.
Log sessions in a central database
Every session created through this automation is recorded in a data table for tracking, reporting, and audit purposes across the sales team.
Include recipient metadata in records
Add recipient name and email fields to the data table so each Brainshark session stores contact details alongside the session response for better tracking.
How it works
- Receive the function call. A function call arrives with the details needed to create a Brainshark session, such as the video title and recipient information.
- Create session via Rest API. Send a Rest API request to Brainshark to create a new session with the provided parameters like video title and recipient details.
- Retry on error status. If the Rest API response status code does not equal 400, retry the request one time to handle temporary failures before proceeding.
- Store the session record. Create a new record in the Workato data table with the session details and response from Brainshark so the result persists.
- Return the result. Send the session creation outcome back to the calling function so the next step in this automation can proceed with the session data.