Place it at the start of the attempt sequence, right before the action begins, then follow a successful attempt with clapping and follow a failed attempt with a fail sound to close the sequence.