Docs
Reference

Twilio Functions variables

Variables a Twilio Function reads on its next execution.

Variables a Twilio Function reads on its next execution.

The connection

WhatThis provider
VendorTwilio
Keytwilio-serverless-variable
Availabilityavailable. You can connect it today.
Credential penv holdstwilio-auth-token
Values read backyes
Activationimmediate

What it moves

DirectionWhat it does
importReads names and values out of the store into penv.
exportWrites names and values from penv into the store.

When a written value goes live

immediate. The running app sees a new value at once.

What happens to a name that exists

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

How you connect

You paste a credential you already hold. penv seals it and never shows it again.

FieldLabelKindRequiredWhat it is
accountSidAccount SIDsecret, masked here and sealedyesPaired with the Auth Token as HTTP Basic credentials.
authTokenAuth Tokensecret, masked here and sealedyes

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
serviceSidServicetextyesnoThe Service SID from its page in the Twilio console.
environmentSidEnvironmenttextyesnoA variable belongs to one environment of one service.