Files involved
send_link_or_transfer.py
Get Booking Link.yaml
config/handoffs.yaml
Thedestination value passed to conv.call_handoff must match the name of a handoff defined in config/handoffs.yaml. All handoffs are defined in a single file under the handoffs key.
Per-environment sender number
If the sender number differs between environments, the simplest approach is to configureenv_phone_numbers directly in config/sms_templates.yaml — no code required:
conv.send_sms_template() is called. See the SMS setup reference for full template configuration options.
If you need more control — for example, when using conv.send_sms() to send free-form content rather than a template — you can read conv.env directly:
Related pages
SMS templates
Structure and variable substitution for SMS templates.
Handoffs
Configure transfer destinations used by
conv.call_handoff.Functions
Return values, conv API, and function structure.
Conversation object reference
Full reference for
conv.send_sms_template, conv.call_handoff, conv.env, and all other conv attributes.Secrets (platform)
Store sensitive values like sender numbers and retrieve them at runtime with
conv.utils.get_secret.SMS setup (platform)
Configuring SMS channels, sender numbers, and template structure.

