# Play a custom sound when a button is pressed and a condition is met

**URL:** <https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738>\
**Category:** Ask for Help\
**Created:** [March 24, 2026, 6:51pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738 "2026-03-24T18:51:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJolley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mjolley/32/85220_2.png) [@MJolley](https://community.glideapps.com/u/MJolley)\
**Post date:** [March 24, 2026, 6:51pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/1 "2026-03-24T18:51:38Z")

</div>

I have a form that is filled out, and if the user has entered the right vale then there is a “success” message. I want to add a custom sound to this action. I know how to insert an Audio Component but I want a way to trigger it to play when the action is achieved. Ideas?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 24, 2026, 11:15pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/2 "2026-03-24T23:15:42Z")

</div>

I don’t think you can play custom sounds (i.e an audio file), just to be clear.

You might only be able to play the sounds available in the Play Sound action.

---

<div class="post-metadata">

**Author:** ![MJolley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mjolley/32/85220_2.png) [@MJolley](https://community.glideapps.com/u/MJolley)\
**Post date:** [March 26, 2026, 12:10pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/3 "2026-03-26T12:10:02Z")

</div>

As an alternative, is there a way to have a sound play that activates another trigger? For example, I could have a logic flow that checks a condition as true or false, changes the sound file that is available, and then a workflow is triggered when the file is played?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 26, 2026, 1:29pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/4 "2026-03-26T13:29:46Z")

</div>

I assume you just want to play different kind of sounds when a value is true or false, and do some other stuff? That should be doable within a single workflow.

---

<div class="post-metadata">

**Author:** ![MJolley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mjolley/32/85220_2.png) [@MJolley](https://community.glideapps.com/u/MJolley)\
**Post date:** [March 26, 2026, 6:10pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/5 "2026-03-26T18:10:03Z")

</div>

But can it be my custom sound?

For example, I’ll show a button to play a sound. If a condition is True, then the button will be for the custom sound I want. If the condition is False, it will be for another sound. But I want the pressing of the button (which would be the “play audio” button from the component) to trigger a Workflow.

In this particular context, it’s a short game that I want to play a fun sound if the player gets the answer right.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 26, 2026, 11:54pm UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/7 "2026-03-26T23:54:25Z")

</div>

> [@ThinhDinh](#):
>
> I don’t think you can play custom sounds (i.e an audio file), just to be clear.

No, I don’t think so, as I noted above.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [March 31, 2026, 1:01am UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/8 "2026-03-31T01:01:25Z")

</div>

I’d use the `Play Sound` action.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 7, 2026, 1:01am UTC](https://community.glideapps.com/t/play-a-custom-sound-when-a-button-is-pressed-and-a-condition-is-met/86738/9 "2026-04-07T01:01:45Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
