8 – How to flag an entity when it is created or updated?


I have a Drupal 8 site with the Flag module.

I want when a user creates or updates a node, product, store, group, … the updated entity is flagged.

How to flag an entity when it is created or updated ?

I’m testing the “Rules” module which is finally (usable) in production.

But how do you flag down a new entity when it is created ?

What should be put in “Action”, because it is no longer like in Drual 7 with an interface.

enter image description here

enter image description here