Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-whatsapp-ruby
Send WhatsApp messages, manage templates, WABAs, and phone numbers via the Telnyx WhatsApp Business API.
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
and 13 more in the full report
12 fixed10 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Ruby code snippet using the Telnyx SDK to send a direct customer service text response to a user who messaged our WhatsApp line 2 hours ago. Assume Telnyx is already initialized.
| Checked | Without skill | With skill |
|---|---|---|
| Calls client.messages.send_whatsapp | Missed | Passed |
| Sets whatsapp_message type parameter to text | Missed | Passed |
The instructions your model reads when the skill loads.
gem install telnyx
require "telnyx"
client = Telnyx::Client.new(api_key: ENV["TELNYX_API_KEY"])
All examples below assume client is already initialized as shown above.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
begin
response = client.messages.send_whatsapp(
from: "+19452940762",
to: "+18005551234",
type: "WHATSAPP",
whatsapp_message: {
type: "text",
text: { body: "Hello from Telnyx!" }
}
)
rescue Telnyx::APIError => e
puts "API error: #{e.http_status} - #{e.message}"
rescue Telnyx::AuthenticationError
puts "Invalid API key"
rescue Telnyx::RateLimitError
puts "Rate limited - retry with backoff"
test cases passed, vs 10 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.