---
title: Writing Initial Scripts
description: Learn more about writing initial scripts in ActBlue Field Tools.
---

[Skip to content](https://help.actblue.com/hc/en-us/writing-initial-scripts-impactive-help-center#main-content)

English - United States

Show submenu for translations

![ActBlue](https://help.actblue.com/hubfs/1-B-AB-HorizontalLockupLogo-FullColor-RGB.svg)

Open main navigation

Close main navigation

- English - United States
  
  Show submenu for translations
- [Contact us](https://help.actblue.com/hc/en-us/requests/new)

[Contact us](https://help.actblue.com/hc/en-us/requests/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [ActBlue Support Documentation](https://help.actblue.com/hc/en-us)
2. [ActBlue Field Tools (formerly Impactive by ActBlue)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue)
3. [Texting (Peer-to-Peer, Broadcast, and Automated)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#texting-peer-to-peer-broadcast-and-automated)

# Writing Initial Scripts

Writing initial scripts is the most important part of setting up your texting actions! An initial script is the first message that contacts receive, from a [Peer-to-Peer Texting](https://help.actblue.com/hc/en-us/setting-up-a-peer-to-peer-texting-action-impactive-help-center), [Broadcast Texting](https://help.actblue.com/hc/en-us/setting-up-a-broadcast-text-impactive-help-center), or [Automated Texting](https://help.actblue.com/hc/en-us/setting-up-automated-texting-impactive-help-center) action.

Note that, unlike some other texting platforms, scripts exist in the context of the action for which they are created. There is no separate script tab or object; scripts are found within actions themselves. (But note that actions can easily be duplicated to re-use scripts from prior actions.)

### Writing Initial Scripts

ActBlue Field Tools' script editor is straightforward:

[![](https://help.actblue.com/hubfs/Knowledge%20Base%20Import/Screenshot+2024-10-18+at+4_47_24%E2%80%AFPM.png)](https://downloads.intercomcdn.com/i/o/ek55cvye/1221302528/dd4e5a6143195af4fb270b078a5e/Screenshot+2024-10-18+at+4_47_24%E2%80%AFPM.png?expires=1776792600&signature=c2cc17490f43a90bed5c0ad4375814f6bca75f55c40800a41102a4daf072330a&req=dSIlF8p%2Bn4RdUfMW1HO4zVPlv0V%2B6%2FVG9EVSqswGDAoe3uabyeEKhl91OKbP%0AvPB7T%2BUSaSD6XOsV1bU%3D%0A)

- Scripts require a name. Contacts will not receive the script name; it's purely an internal designation, useful if you'll be A/B testing or performing later data analysis on message performance.
- You can use dynamic variables to customize scripts; read our full guide [here](https://help.actblue.com/hc/en-us/using-dynamic-variables-in-texting-scripts-impactive-help-center) for the many ways that dynamic variables can help to personalize scripts.
- The script writer shows script type (SMS/MMS), script length in segments (for SMS) and character count. **This information is important for determining how much your texting action will cost**; read our full guide to determining texting costs [here](https://help.actblue.com/hc/en-us/how-can-we-estimate-the-cost-of-a-texting-action-impactive-help-center).
- You can add an image to your script with the + Image button; this will convert the script to an MMS message (rather than SMS), with billing implications as covered [here](https://help.actblue.com/hc/en-us/how-can-we-estimate-the-cost-of-a-texting-action-impactive-help-center).

Ensure that opt-out language (ex. "Reply STOP to unsubscribe") is included in **each and every one of your initial scripts**, for ALL types of texting - Peer-to-Peer, Broadcast, and Automated. Learn more about this and other **mandatory scripting compliance requirements** [here](https://help.actblue.com/hc/en-us/texting-script-compliance-requirements-impactive-help-center).

### A/B Testing Initial Scripts

For Peer-to-Peer Texting and Broadcast Texting, you can run an A/B test of initial scripts by creating multiple initial scripts within a single action. If multiple initial scripts are added, Field Tools will automatically randomize the send of those scripts across the contact list.

To add additional initial scripts, simply click + Add another initial script:

[![](https://help.actblue.com/hubfs/Knowledge%20Base%20Import/Screenshot+2024-10-18+at+4_47_24-E2-80-AFPM.png)](https://downloads.intercomcdn.com/i/o/ek55cvye/1221304950/40863d7b2ed7c754c63d2f3b99d9/Screenshot%2B2024-10-18%2Bat%2B4_47_24-E2-80-AFPM.png?expires=1776792600&signature=a5da168842208a07bb9e380d4dbc32d0f4ea23cf123a2ab11974ba41f0f7f6b1&req=dSIlF8p%2BmYhaWfMW1HO4zcjT76EA4vmCe8CudDoE3glJUcMUOVgw6LontCmu%0AX%2Fa7DYupN9R5LNF0csw%3D%0A)

To track A/B testing results, use the Initial Scripts tab within the [detailed results](https://help.actblue.com/hc/en-us/tracking-texting-results-impactive-help-center) of the action's results page; key script metrics (deliveries, errors, opt-out rate, response rate, etc.) will be listed on a per-script basis.

Note that easy viewing of A/B testing results is currently only available for Peer-to-Peer Texting, not Broadcast Texting; this will be improved in the near future.

In the meantime, Broadcast Texting A/B testing results can be manually assessed by manipulating the Messages export.

<https://help.actblue.com/hc/en-us/texting-script-compliance-requirements-impactive-help-center><https://help.actblue.com/hc/en-us/writing-response-scripts-impactive-help-center><https://help.actblue.com/hc/en-us/we-received-a-message-that-our-texting-action-is-encountering-errors.-what-do-we-do-impactive-help-center><https://help.actblue.com/hc/en-us/tracking-texting-results-impactive-help-center><https://help.actblue.com/hc/en-us/can-i-send-a-test-text-impactive-help-center>

- [Donors & Grassroots Fundraisers](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#main-content)

    - [Donor Guides](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#donor-guides)
    - [Contributions](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#contributions)
    - [ActBlue Express Accounts](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#actblue-express-accounts)
    - [Raising Money for Campaigns and Organizations](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#raising-money-for-campaigns-and-organizations)
    - [About ActBlue](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#about-actblue)
    - [Other](https://help.actblue.com/hc/en-us/donors-grassroots-fundraisers#other)
- [Core ActBlue](https://help.actblue.com/hc/en-us/core-actblue#main-content)

    - [Getting Started with Your Core Dashboard](https://help.actblue.com/hc/en-us/core-actblue#getting-started-with-your-core-dashboard)
    - [Managing & Granting Access to Your Core Dashboard](https://help.actblue.com/hc/en-us/core-actblue#managing-granting-access-to-your-core-dashboard)
    - [Creating & Managing Core Contribution Forms](https://help.actblue.com/hc/en-us/core-actblue#creating-managing-core-contribution-forms)
    - [Managing Grassroots Fundraising for Core Donors](https://help.actblue.com/hc/en-us/core-actblue#managing-grassroots-fundraising-for-core-donors)
    - [Working with Core Contribution Forms](https://help.actblue.com/hc/en-us/core-actblue#working-with-core-contribution-forms)
    - [Core Contribution Form Features](https://help.actblue.com/hc/en-us/core-actblue#core-contribution-form-features)
    - [Selling Tickets & Merchandise with Core](https://help.actblue.com/hc/en-us/core-actblue#selling-tickets-merchandise-with-core)
    - [Refunding & Managing Core Contributions](https://help.actblue.com/hc/en-us/core-actblue#refunding-managing-core-contributions)
    - [Reporting & Accessing Your Core Fundraising Data](https://help.actblue.com/hc/en-us/core-actblue#reporting-accessing-your-core-fundraising-data)
    - [Signing In & Using 2FA in Core](https://help.actblue.com/hc/en-us/core-actblue#signing-in-using-2fa-in-core)
    - [Managing Your Merchant Account in Core](https://help.actblue.com/hc/en-us/core-actblue#managing-your-merchant-account-in-core)
    - [Activating & Managing Express Lane in Core](https://help.actblue.com/hc/en-us/core-actblue#activating-managing-express-lane-in-core)
    - [Fundraising Strategy in Core](https://help.actblue.com/hc/en-us/core-actblue#fundraising-strategy-in-core)
    - [Integrations & Analytics in Core](https://help.actblue.com/hc/en-us/core-actblue#integrations-analytics-in-core)
    - [Using Call Time in Core](https://help.actblue.com/hc/en-us/core-actblue#using-call-time-in-core)
    - [Other Core FAQ](https://help.actblue.com/hc/en-us/core-actblue#other-core-faq)
- [Raise by ActBlue](https://help.actblue.com/hc/en-us/raise-by-actblue#main-content)

    - [Getting Started with Your Raise Dashboard](https://help.actblue.com/hc/en-us/raise-by-actblue#getting-started-with-your-raise-dashboard)
    - [Managing & Granting Access to Your Raise Dashboard](https://help.actblue.com/hc/en-us/raise-by-actblue#managing-granting-access-to-your-raise-dashboard)
    - [Creating & Managing Raise Fundraising Pages](https://help.actblue.com/hc/en-us/raise-by-actblue#creating-managing-raise-fundraising-pages)
    - [Reporting & Accessing Your Raise Fundraising Data](https://help.actblue.com/hc/en-us/raise-by-actblue#reporting-accessing-your-raise-fundraising-data)
    - [Managing Your Merchant Account in Raise](https://help.actblue.com/hc/en-us/raise-by-actblue#managing-your-merchant-account-in-raise)
    - [Managing Your Conduit Account In Raise](https://help.actblue.com/hc/en-us/raise-by-actblue#managing-your-conduit-account-in-raise)
    - [Raise FAQs](https://help.actblue.com/hc/en-us/raise-by-actblue#raise-faqs)
- [ActBlue Field Tools (formerly Impactive by ActBlue)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#main-content)

    - [Getting Started](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#getting-started)
    - [Contacts](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#contacts)
    - [Users](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#users)
    - [Data and Integrations](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#data-and-integrations)
    - [Training Volunteers](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#training-volunteers)
    - [Texting (Peer-to-Peer, Broadcast, and Automated)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#texting-peer-to-peer-broadcast-and-automated)
    - [Phone Banking](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#phone-banking)
    - [Friends and Family Messaging (Relational)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#friends-and-family-messaging-relational)
    - [Canvassing](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#canvassing)
    - [Voter Registration](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#voter-registration)
    - [Forms](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#forms)
    - [Other Actions (Social Sharing, Open Webpage)](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#other-actions-social-sharing-open-webpage)
    - [Best Practices & Ideas](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#best-practices-ideas)
    - [Billing & Account Management FAQs](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#billing-account-management-faqs)
    - [Frequently Asked Questions](https://help.actblue.com/hc/en-us/actblue-field-tools-formerly-impactive-by-actblue#frequently-asked-questions)
- [ActBlue Website Builder (formerly Hey Victor)](https://help.actblue.com/hc/en-us/actblue-website-builder-formerly-hey-victor)
- [Other FAQs](https://help.actblue.com/hc/en-us/other-faqs#main-content)

    - [Applying for a New Account FAQs](https://help.actblue.com/hc/en-us/other-faqs#applying-for-a-new-account-faqs)
    - [Sign In & 2FA FAQs](https://help.actblue.com/hc/en-us/other-faqs#sign-in-2fa-faqs)
    - [Post-Election FAQs](https://help.actblue.com/hc/en-us/other-faqs#post-election-faqs)
    - [ActBlue FAQs](https://help.actblue.com/hc/en-us/other-faqs#actblue-faqs)

[![1-AB-TaglineLockup-Horizontal-Brand-5.20.25-02](https://help.actblue.com/hs-fs/hubfs/ActBlue%20Logos/1-AB-TaglineLockup-Horizontal-Brand-5.20.25-02.png?width=410&height=40&name=1-AB-TaglineLockup-Horizontal-Brand-5.20.25-02.png "1-AB-TaglineLockup-Horizontal-Brand-5.20.25-02")](https://secure.actblue.com/)

<https://www.facebook.com/ActBlue> <https://twitter.com/actblue> <https://www.instagram.com/actblueorg> <https://www.linkedin.com/company/actblue/>

Copyright © 2025, ActBlue