Emoji Confetti Screen Component

Emoji Confetti Screen Component

Celebration is a fun and engaging way to recognize achievements with your users directly on their Salesforce screen. Salesforce already has a standard confetti celebration feature. Although this standard feature is limited to paths only, there are some custom confetti components that you can use. For instance, it is possible to display confetti on flow screens using this component. You can also display the same confetti options via record-triggered flows using this component. However, what if you want to display something more fun and engaging? For instance, displaying an emoji as confetti would be great, right?

In this post, you can find a screen component that can display multiple emojis as confetti. From displaying dollar signs to smiley faces, the use cases are endless!

How to Use the Component

1- Install the package using the installation links below.

2- Create a screen flow and add the "emojiConfetti" screen component to a flow screen.

Emoji Confetti

3- This component has multiple configuration parameters.

Emoji Confetti Configuration

Duration: Duration of confetti effect in seconds.
Emojis: Comma-separated list of emojis (and plain texts). It is possible to use variables as well.
Number of Confetti Pieces: Number of confetti pieces to show.
Random Rotation: Enable random 180 degree rotation for confetti pieces.
Size: Size of the confetti pieces. Available options: xxsmall, xsmall, small, medium, large, xlarge, xxlarge.
Speed: Speed of the confetti pieces.

Once the flow displays this screen, it will show your custom emoji confetti effect.

Showing Confetti on Field Updates

Since it is a screen component, it works with screen flows only. However, you can build an invisible screen flow and display it on the record page when a checkbox becomes true. This way, you can show emoji confetti on field updates as well.

For instance, create a checkbox field on the Opportunity object and mark it when the stage becomes Closed Won. Add this screen flow to the Lightning record page and make it visible when the checkbox is true. Don't forget to unmark the checkbox in the flow so that you can use it again.

Invisible Screen Flow to Show Emoji Confetti

Here is the result.

Emoji Confetti - POC

Installation Links

Use this link to install in production or developer edition environments.

Use this link to install in sandbox environments.

2 Comments

Leave a Reply

Your email address will not be published.


*