π dynamic cards
Problem Summary
I'm having trouble accessing webhook data in a Typebot Script Block to create a dynamic carousel/cards component. The webhook is receiving data from n8n successfully, but I can't access the variables in my script.
Current Setup
Webhook Block: Receiving JSON data from n8n
Webhook Variables Configured:
data.images β Images
data.titles β Titles
data.descriptions β Descriptions
Script Block: Trying to access and process these variables
Cards Block: Should display the processed data
What I've Tried
Direct Variable Access
javascriptconsole.log('Images:', Images);
console.log('Titles:', Titles);
console.log('Descriptions:', Descriptions);
Result: Variables show as undefined or display internal IDs like vqbfnb2u1t9zz84l9jkczh7jq
Typebot.getVariable() Method
javascriptconst images = Typebot.getVariable('Images');
const titles = Typebot.getVariable('Titles');
const descriptions = Typebot.getVariable('Descriptions');
Result: Returns null or undefined
Common Variable Names
Tried accessing: respuesta_completa, data, webhook_response, response, result, webhookData
Result: None found
setVariable Error
Getting error: ReferenceError: setVariable is not defined
Console Output Examples
Images: No encontrado
Titles: No encontrado
Descriptions: No encontrado
Image URL: vqbfnb2u1t9zz84l9jkczh7jq
Title: veeqe66xwnmruocfhn6ssw0nu
Description: vdatbsoi6uf5hwup09pb00gr5
Questions


