Email Notifications about new Jira Comment 

Content Image

  • Deploy Jira fields that will be used in flow ( link ).
  • Create Record-Triggered Flow .
  • In Configure Start, choose the Peeklogic Issue Comment object, select ‘A record is created’ under Configure Trigger.

Content Image

  • In the Get Records element, choose the Peeklogic Jira Issue object and set the condition: Id -> Equals -> {!$Record.peeklogic_jc__Jira_Issue__c}.

Content Image

  • In Get Records element, choose Case object and set condition:
    Id -> Equals -> {!Get_Jira_Issue.peeklogic_jc__Object_Connect__r.Name}.
  • Select ‘All records’(if you have a one-to-one relationship between Jira Issue and Salesforce record, select ‘Only the first record’, complete step with Decision element and at once move to step with Action element ‘Send Email’).

Content Image

  • In Decision element, check if the collection of Case is not empty:
    {!Get_Case} -> Is Null -> {!$GlobalConstant.False}.

Content Image

In the Loop element, choose {!Get_Case} in the Collection Variable.

Content Image

  • Choose Send Email in Action element, populate values:
    • Body – create variable with type Text Template;
    • Recipient Address List – {!Loop_Case.Owner:User.ReceivesInfoEmails};

Content Image

  • Rich-Text-Formatted Body – {!$GlobalConstant.True};
  • Sender Email Address – any email (there is used OrgWideEmailAddress);
  • Subject – any subject.

Content Image

 

 

 

Ready to simplify your Salesforce integrations?

    Peeklogic AI Orchestrator