Clio Operate Knowledge Base

Search for answers or browse our knowledge base.
Have you tried asking our AI chatbot for help? It is down in the right-hand corner.

Create a call to action to open an email

Was this article helpful?

To create a call to action which opens up an email and passes in an email template then use the following snippets. The email template can define the to party on the email, content etc. For more information on email templates go to Preparing a New Email Template‍ 


  var clientCCTVReqC2A = actions.sharedo.BuildActionPlanItem()

        .WithDescription("Email: Client request for dashcam footage")

        .AddCheckbox()

         .WithCallToAction(

                actions.sharedo.BuildCallToAction()

                    .WithDisplay("Email", "fa-envelope-o")

                    .WithCommandForSharedo

                    (

                        "sharedo-open-or-create-task",

                        {

                            sharedoType: "task-activity-send-email",

                            title: "Dashcam Footage Request",

                            dueOffset: "+1h",

                            email:

                            {

                                templateSystemName: "ulr-091-client-request-for-dashcam-footage",

                            }

                        },

                    ctx.sharedoId

                )

                .Build()

        )

        .Build();

Was this article helpful?

Related Articles

Related articles in the knowledge base