top of page

Using After Insert Trigger in Lightning Flows

Hey #AwesomeAdmins, here I am using Record-Changed flow which runs after the record is created on Account object. We are creating a contact record whenever an account is created, but with Flows using $Record variable.


ree
ree


Now, let me show you how to configure this, and how to use the Id of the Account record, which doesn't exist in system but we are referring that to our createContactRecord Element.

ree

Here I am referencing, {!$Record.Id} to AccountId. We use $Record to store the record that will be created by our Lightning Flow. In our case, it will store the information of Account record because of which our Flow will trigger.


Demo Time!


ree

Thanks for your time!

Comentários


Aviral Agrawal

Principal Technical Architect

Subscribe to get all the updates.

Thanks for submitting!

Aviral Agrawal

Mail: aviralsfdc@gmail.com

bottom of page