DEV_FarmerAI_TestAPIConsent_FUNC

testing the API function call for consent

Loading...
Variables

  altLanguage

string

  question2

string

  rag

string

  defaultLanguage

string

  botName

string

External-facing name of the bot

  extraConsent

array

Loading...

Bot-controlled list of acceptable consent, in addition to default "I agree"

  question3

string

  ragLanguage

string

  bot_country

string

  scriptVersion

string

This is a stored and retrievable string that holds the version of the bot recipe

  botCountry

string

The bot's country support (with flag emoji)

  question1

string

  cropSynonyms

object

Loading...

Synonyms to help nudge question crops to RAG crops

  botVariation

string

  user_wa_phone_number

string

System provided

  bot_wa_phone_number

string

System provided

  conversation_id

string

System provided

  just_consented

string

System provided

  user_message_id

string

System provided

  integration_name

string

System provided

  is_b_test

string

System provided

  platform

string

System provided

  response

string

System provided

  has_prior_consent

string

System provided

  user_message_count

string

System provided

  request

object

System provided

Loading...

  plantix_response

string

System provided

  QuestionTimestamp

string

System provided

  web_url

string

System provided

  integration_id

string

System provided

Secrets

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

{6 Items
"is_b_test"
:
bool
true
"just_consented"
:
bool
false
"plantix_response"
:
NULL
"QuestionTimestamp"
:
string
"2025-09-23T16:53:38.525Z"
"has_prior_consent"
:
bool
false
"user_message_count"
:
int
1
}

Logs

❌ User has not consented yet