Save as New
by
testing the API function call for consent
Run
Examples
API
1y ago
🌎 JavaScript
🐍 Python
💻 Bash
Add
question2
string
bot_country
extraConsent
array
Bot-controlled list of acceptable consent, in addition to default "I agree"
botVariation
defaultLanguage
scriptVersion
This is a stored and retrievable string that holds the version of the bot recipe
botCountry
The bot's country support (with flag emoji)
question3
question1
ragLanguage
altLanguage
rag
cropSynonyms
object
Synonyms to help nudge question crops to RAG crops
botName
External-facing name of the bot
has_prior_consent
System provided
user_message_count
conversation_id
just_consented
plantix_response
web_url
user_message_id
integration_name
QuestionTimestamp
user_wa_phone_number
response
request
platform
is_b_test
integration_id
bot_wa_phone_number
Clear System Variables
package.json
PLANTIX_API_KEY_MALAWI
Run cost = 1 credits
Functions are free if called from another workflow.
With each run, you agree to Gooey.AI's terms & privacy policy.
Return value
Logs
❌ User has not consented yet
🐞 Debug
🙋🏽♀️ Need more help? Join our Discord