+ Start a Discussion

convert trigger into Lightning flow builder

Hi Team,
trigger campupdate on Campaign (before insert,before update) {
  for(Campaign ca: Trigger.new){
      ca.EndDate = ca.StartDate+30;
          ca.EndDate =ca.StartDate;   
how can i convert these trigger into LIghtning flow builder. I know that i can acheive these functionality using workflow or process builder. In further we are calling custom meta data type into logic . So i need to implement these functionality using flow builder