This post was split from the topic:
Hello, it worked! I am having another issue with assigning labels to e-mails. It works when Label is Static but when it is Custom is does not work...:
Custom:


Static:

Many thanks for helping me with this!
This post was split from the topic:
Hello, it worked! I am having another issue with assigning labels to e-mails. It works when Label is Static but when it is Custom is does not work...:
Custom:
Static:
Many thanks for helping me with this!
Yay! I’m so glad to hear the webhook is working now,
Hope you don’t mind but as you’re running into a different issue now, I converted your reply into this new topic so we can address it separately.
Ok, so with dropdown fields like that Label field, when a custom value selected the ID for the corresponding option to be selected is expected—rather than the option’s name. In the Label field you can see the ID for each label will appear just under the name of the label.
For example, in the following screenshot you can see that for the test-label label I created in my own Gmail account it has an ID of Label_1272586595321939040:
To have the Zap automatically the ID supplied automatically you might want to look at using a lookup table to convert the label name that ChatGPT supplies into the corresponding label ID. You can learn more about how to use lookup tables in Zaps here: Create lookup tables in Zaps.
Alternatively, you could update the prompting on that ChatGPT action to output the relevant label ID instead of the label name.
Let me know how that goes, happy to help if you get stuck on that or have any questions!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.