Creating an Apex Trigger
To write an Apex trigger you must use the Salesforce development tools or a sandbox. This is a sample create trigger:
trigger [NameofTrigger] on [Source Object API Name] (before insert)
{ffirule.IntegrationRuleEngine.triggerHandler();}
Replace [NameofTrigger] with the name of your trigger and replace [Source Object API Name] with the source object API name on the rule to which the trigger applies.