I'm trying to get my Flow to respond to the following
def flow_twilio(first_name,repeats_left):
# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = 'AC7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
client = Client(account_sid, auth_token)
execution = client.studio \
.v1 \
.flows('FW8057d9d1f84b19286bd466253ab86cad') \
.executions \
.create(parameters={
'f_name' : first_name, 'rpts': repeats_left,
}, from_='+12763888591', to='+353876201920')
print(execution.sid)
Here's my Studio Flow:
The confirm_repeat widget is not doing anything, is there something obvious I'm not seeing. I've looked at the logs and can't figure out whats wrong with it.
Any input or advice greatly appreciated, tks, Ian