For a customer-owned Twilio number, IrisAgent verifies the credentials, SMS capability, Messaging Service, and sender-pool membership. You are responsible for the number’s carrier registration, campaign approval, consent, and Twilio billing.
Before you begin
For either setup method, you need:- IrisAgent administrator access
- A CSV file containing only contacts who have explicitly opted in
- A notification email and your company’s legal, tax, address, and authorized-contact information
- A description of the messages you plan to send and representative message samples
- An explanation of how recipients opt in, with supporting evidence and relevant website links
- The Twilio Account SID for the account or subaccount that owns the number
- An SMS-capable US phone number in that same account or subaccount
- A Twilio Messaging Service whose sender pool contains that number
- A restricted Twilio API key SID and secret created in that same account or subaccount
- The applicable approved carrier registration associated with that Messaging Service
Set up your text channel
In IrisAgent, open Deploy → Text channels, then choose one of the following setup methods.Connect your existing Twilio number
Use this option when your company already owns a Twilio number and manages its Twilio registration and billing.1. Confirm the Twilio resources use the same account
The phone number, Messaging Service, and restricted API key must belong to the Twilio account or subaccount identified by the Account SID you enter in IrisAgent. Credentials created in a parent account cannot automatically access resources owned by a subaccount, and the reverse is also true. In the Twilio Console:- Select the account or subaccount that owns the phone number.
- Copy its Account SID, which begins with
AC. - Under Phone Numbers, confirm the number is SMS capable.
2. Configure the Messaging Service
- Open Messaging → Messaging Services in Twilio.
- Create a Messaging Service or select the service you want IrisAgent to use.
- Copy its Messaging Service SID, which begins with
MG. - Open the service’s Senders tab.
- Add the phone number to the sender pool if it is not already listed.
3. Create a restricted API key
- In the same Twilio account or subaccount, open Settings → API keys and tokens.
- Create a restricted API key following Twilio’s restricted API key documentation.
- Grant the least privileges needed to read the owned phone number and Messaging Service, read its sender pool, and create outbound messages.
- Copy the API Key SID, which begins with
SK, and the secret.
4. Connect the number in IrisAgent
- Open Deploy → Text channels.
- Select Use your Twilio number, then click Connect Twilio.
- Enter the Account SID, Restricted API Key SID, Restricted API Key secret, US phone number, and Messaging Service SID.
- Click Connect number.
Get an IrisAgent-managed number
- Open Deploy → Text channels.
- Under Get an IrisAgent number, click Get a new number.
- Enter a preferred three-digit US area code.
- Click Get number.
The managed registration experience below requires the updated Text channels feature to be enabled for your workspace. If you do not see these controls, contact IrisAgent support. Connecting your own Twilio number remains a separate setup option.
1. Register your business
After your number is provisioned:- Enter the email address that should receive registration updates.
- Click Start / resume registration.
- Complete the secure embedded business registration form with accurate company and tax information.
- Submit the form and wait for brand review.
2. Register your messaging use case
After the brand is approved:- Click Register messaging use case on Text channels.
- Complete the separate embedded campaign-registration form, including the purpose of your messages, representative samples, and opt-in information.
- Ensure the opt-in description matches the actual experience recipients see.
- Submit the form for campaign review.
A messaging-use-case registration is the Twilio A2P registration associated with your Messaging Service. An Outbound campaign in IrisAgent is a particular message and CSV audience. Creating an Outbound campaign does not create or approve a carrier registration.
3. Wait for number activation
After campaign approval, IrisAgent waits for confirmation that the selected number is registered to that campaign. The managed sender becomes Active only after the business, messaging use case, and number have completed the required approvals. Text channels displays these stages:
The status banner summarizes the current state:
Click Refresh status to retrieve the latest registration state. The page also refreshes approximately every 30 seconds while no registration form or setup action is open. You do not need to leave the page open for provider updates to be processed.
Correct a rejected registration
If a brand or campaign is rejected, IrisAgent shows the available rejection reason. Click Correct registration to reopen the appropriate form and address the requested changes. Registrations awaiting review cannot be edited. For number-registration problems or a status without a correction button, contact support.Get help with registration
When a registration action is available, use View required details to review Twilio’s business-information checklist, or Email us details to open a prefilled email to IrisAgent support. You can also email support directly. Share general business and messaging details by email. Do not email API secrets, tax identifiers, or identity documents; ask support for a secure way to provide sensitive information.Prepare a contacts CSV
Create a CSV with aphone_number column. You can optionally add first_name for personalization.
phone_numberis required. IrisAgent also recognizesphone,mobile, andmobile_numberas phone-column headings.first_nameis optional.first name,firstname, andnameare also recognized.- Numbers must be valid US numbers. Formatting characters are allowed; IrisAgent normalizes accepted numbers to E.164 format.
- Duplicate phone numbers are included once.
- Invalid rows are skipped and reported after import.
- A campaign can contain up to 1,000 unique recipients in the initial release.
Create a campaign
- Open Outbound from the IrisAgent sidebar.
- Click Create campaign.
- Enter a campaign name. This is visible only to your team.
- Write the message recipients should receive.
- Upload the contacts CSV.
- Review the number of valid and skipped contacts.
- Confirm that every recipient has explicitly opted in.
- Click Save draft.
Send and monitor a campaign
- Open the saved campaign and review its message, audience, and consent confirmation.
- Ensure your text channel is active, then click Send campaign.
- Monitor the delivery metrics and any recipient-level failures on the campaign details page.
Personalize a message
Use{{first_name}} wherever the recipient’s first name should appear:
Message length and opt-out language
The editor shows the message length and an estimated SMS segment count. Messages longer than a single segment may be split by the carrier and can cost more to deliver. Non-GSM characters can also change segment length. Include clear sender identification and opt-out language appropriate for your program, such asReply STOP to opt out. Carrier and legal requirements vary by use case and jurisdiction; your organization is responsible for ensuring its campaign and consent process comply with applicable requirements.
Troubleshooting
I received a number, but sending is not available
Number provisioning and carrier registration are separate. Open Deploy → Text channels, click Refresh status, and check the current stage. After brand approval, you must complete Register messaging use case. Campaign approval is followed by number registration; sending remains unavailable until the managed sender is Active.My business was approved, but I still cannot send
Check which approval you received. A Twilio Business Profile approval or Compliance Embeddable enrollment is not a completed customer campaign registration. Brand approval unlocks the messaging-use-case form; it does not activate the number. Follow the remaining stages in Text channels.I submitted a form, but the page still offers registration
Submission is not approval, and provider records may take a few minutes to appear. Click Refresh status before retrying. If the form is still a draft, the registration action resumes it. If the discrepancy persists, contact support rather than creating a new number.Status refresh or registration is unavailable
Read the inline error and retry shortly. If the error says embedded registration is not enabled, contact IrisAgent support to confirm access for the managed account. Do not purchase another number or assume that an existing business-profile approval resolves this error.Twilio connection fails
Confirm that:- The Account SID begins with
AC, the API Key SID begins withSK, and the Messaging Service SID begins withMG. - The restricted API key was created in the same account or subaccount that owns the number and Messaging Service.
- The phone number is SMS capable.
- The phone number appears under the selected Messaging Service’s Senders tab.
- The restricted API key has permission to read those resources and create outbound messages.
Twilio reports error 30034 or an undelivered message
Twilio error 30034 means a US local 10DLC message was sent from an unregistered number. Open Messaging → Messaging Services, select the service connected to IrisAgent, and check Compliance → 10DLC. Associate the service with the applicable approved A2P campaign or complete its registration before sending again. Activating an outbound campaign in IrisAgent does not create or enable a Twilio A2P campaign. They are separate:- An IrisAgent campaign defines the message and recipients and starts the send operation.
- A Twilio A2P campaign registration tells US carriers who is sending, the approved use case, and which Messaging Service is authorized.
My CSV was rejected
Confirm that the file:- is saved as CSV
- includes a recognized phone-number heading
- contains valid US phone numbers
- contains no more than 1,000 unique valid recipients