ShareShortcuts

Talk To A Customer

It’s still very basic, but good

stardj1999
Dupliquer « Talk To A Customer »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que stardj1999 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
8K
Enregistré
1
Actions
18
Catégorie
Utilities
Version
1.0
Langue
EN

It’s still very basic, but good. By the way, don’t forget to comment so I can know what you did with it! Also, don’t forget to like!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 22 janv. 2026

First release

Ce qu’il fait

18 actions
  1. Show Result
  2. Ask for Input
    [Siri show:"What is your name?" say:"May I have your first and last name, please?"]
  3. Set Variable
    name
  4. Ask for Input
    [Siri show:"We're quickly gathering information to create a more accurate and reliable experience." say:"Hi, Mr./Ms. …. What device did you purchase?"]
  5. If
  6. Set Variable
    device
  7. If
  8. Replace Text
  9. Set Variable
    device
  10. Ask for Input
    [Siri show:"We're quickly gathering information to create a more accurate and reliable experience." say:"Ok,…, what’s the problem with your …?"]
  11. If
  12. Show Result
  13. Ask for Input
    Do you know where the Side Button is?
  14. If
  15. Show Result
  16. If
  17. Show Result
  18. Show Result

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/text'
#define color green
#define glyph person

show("Welcome to an [Siri show:\"automated experience powered by Siri.\" say:\"automated experience powered by Siri!\"][Siri pauseForSeconds:0.3]")
prompt("[Siri show:\"What is your name?\" say:\"May I have your first and last name, please?\"]")
@name
const ProvidedInput = prompt("[Siri show:\"We're quickly gathering information to create a more accurate and reliable experience.\" say:\"Hi, Mr./Ms. {@name}. What device did you purchase?\"]")

if ProvidedInput beginsWith "i" {
	@device = ProvidedInput
} else {
	replaceText("An", "", ProvidedInput)
	@device
}
prompt("[Siri show:\"We're quickly gathering information to create a more accurate and reliable experience.\" say:\"Ok,{@name}, what’s the problem with your {@device}?\"]", "Text")

if  contains "not" ||  contains "n't" {
	show("I'm sorry about that. We're going to make a restart to your {@device}.")
	const ProvidedInput1 = prompt("Do you know where the Side Button is?")
	if ProvidedInput1 contains "ye" {
		show("Alright, can you press and hold that on your {@device}, along with the Volume Up button?[Siri pauseForSeconds:3]\n\nAlright, you should see a menu with a \"slide to power off\". Slide that. We're going to wait about 20 seconds. [Siri pauseForSeconds:9]\n\nThat should be enough time. Now try pressing and holding the Side Button on your {@device}, OK?\n\n")
	} else {
		show("It's the button on the right side of your {@device}.[Siri pauseForSeconds:0.4]")
		show("Now that you know where the Side Button is, can you press and hold that on your {@device}, along with the Volume Up button?[Siri pauseForSeconds:3]\n\nAlright, you should see a menu with a \"slide to power off\". Slide that. We're going to wait about 20 seconds. [Siri pauseForSeconds:9]\n\nThat should be enough time. Now try pressing and holding the Side Button on your {@device}, OK?\n\n")
	}
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de stardj1999

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité