Reference
Twilio Functions variables
Variables a Twilio Function reads on its next execution.
Variables a Twilio Function reads on its next execution.
Connection
| What | This provider |
|---|---|
| Vendor | Twilio |
| Key | twilio-serverless-variable |
| Availability | available. You can connect it today. |
| Credential we hold | twilio-auth-token |
| Values read back | yes |
| Activation | immediate |
Directions
| Direction | What it does |
|---|---|
import | We read names and values out of the store into your environment. |
export | We write names and values from your environment into the store. |
Activation
immediate. The running app sees a new value at once.
Conflict policies
| Direction | Policies you can pick |
|---|---|
import | skip_existing, new_version, fail |
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
Connect
Paste a credential from the vendor. We seal it and never show it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
accountSid | Account SID | secret; we mask it here and seal it | yes | Paired with the Auth Token as HTTP Basic credentials. |
authToken | Auth Token | secret; we mask it here and seal it | yes |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
serviceSid | Service | text | yes | no | The Service SID from its page in the Twilio console. |
environmentSid | Environment | text | yes | no | A variable belongs to one environment of one service. |