File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
src/Umbraco.Forms.Extensions.Crm.Hubspot Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using Umbraco . Forms . Core ;
4
+ using Umbraco . Forms . Core . Enums ;
5
+ using Umbraco . Forms . Core . Persistence . Dtos ;
6
+
7
+ namespace Umbraco . Forms . Extensions . Crm . Hubspot
8
+ {
9
+ public class HubspotWorkflow : WorkflowType
10
+ {
11
+ public HubspotWorkflow ( )
12
+ {
13
+ Id = new Guid ( "c47ef1ef-22b1-4b9d-acf6-f57cb8961550" ) ;
14
+ Name = "Hubspot" ;
15
+ Description = "Form submissions are sent to CRM Hubspot" ;
16
+ Icon = "icon-handshake" ;
17
+ Group = "CRM" ;
18
+ }
19
+
20
+ public override WorkflowExecutionStatus Execute ( Record record , RecordEventArgs e )
21
+ {
22
+ return WorkflowExecutionStatus . Completed ;
23
+ }
24
+
25
+ public override List < Exception > ValidateSettings ( )
26
+ {
27
+ return new List < Exception > ( ) ;
28
+ }
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments