In order to make video generation automatic Idomoo created an Apex Class that's easily accessible through Salesforce Business Automation tools.
The purpose of the Apex Class is to generate a video for a campaign member using a PV Project defined earlier. How to qualify which contact becomes a campaign member and how to distribute the video is not part of Idomoo's integration, but relies on the available tools you use in Salesforce for those purposes.
Here's an example of how to use this Apex Class.
Watch the Using Apex Code with Flows Video
Total running time: 3:25
Apex Class Specifications
The Apex Class has the following properties:
|Idomoo__Generate_Videos||The name of the Apex Class to call|
|PV_Project_ID||The ID of the Idomoo PV project you want to generate videos for.||Yes|
|SF_Campaign_ID||The ID of the campaign where the campaign members are.||Yes|
|Contact_IDs||The contact IDs to generate videos for. Usually accessed through the flow itself using a formula.||Yes|
|Send_Completion_Email||If to send an email when video generation is done. This should not be used if generating videos one by one.||Yes|
|Completion_Email_Address||What email address to use for generation submissions||No|