campaigns command lets you manage campaigns in your Loops account.
create
Create a new draft campaign. This also creates an empty email message — use email-messages update to set its subject, sender, preview text, and LMX content.
Flags
--audience-filter and --audience-filter-file are two ways to supply the same ad-hoc filter, so they’re mutually exclusive with each other — use --audience-filter for short inline JSON and --audience-filter-file to load it from a file. A filter can be combined with --audience-segment-id: when both are set, the filter is applied on top of the segment — contacts must match both. Setting a segment without a filter (or a filter without a segment) clears the other, so pass both together to keep both.get
Get a campaign by ID.
list
List campaigns.
--pick to filter the list interactively with fzf and copy the selected campaign ID to your clipboard. Requires fzf to be installed and on your PATH.
Flags
update
Update a draft campaign.
Flags
--audience-filter and --audience-filter-file are two ways to supply the same ad-hoc filter, so they’re mutually exclusive with each other — use --audience-filter for short inline JSON and --audience-filter-file to load it from a file. A filter can be combined with --audience-segment-id: when both are set, the filter is applied on top of the segment — contacts must match both. Setting a segment without a filter (or a filter without a segment) clears the other, so pass both together to keep both.
