Skip to main content

Search campaigns

The Salesforce search campaigns action searches campaign records in your connected Salesforce org using flexible filters. This is a read-only action that helps teams find the right campaigns quickly without modifying any Salesforce data.

Prerequisites

  • Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.

  • Users must authenticate for Salesforce actions on first use.

  • The authenticated Salesforce user must have permission to view Campaign records based on your organization's sharing rules.

Supported parameters

ParameterTypeDescription
NameStringCampaign name to search for. Supports partial matches. Optional.
TypeStringCampaign type to filter by (e.g., "Email", "Webinar", "Conference"). Optional.
StatusStringCampaign status to filter by (e.g., "Planned", "In Progress", "Completed"). Optional.
Is activeBooleanFilter by active status. True for active campaigns, false for inactive. Optional.
Start date fromDateSearch campaigns starting from this date (YYYY-MM-DD format). Optional.
Start date toDateSearch campaigns starting before this date (YYYY-MM-DD format). Optional.
FieldsStringComma-separated list of Campaign fields to retrieve in results. Optional.
LimitIntegerMaximum number of campaigns to return. Optional.

Usage examples

  • "Find all active email campaigns with 'Product Launch' in the name."

  • "Search for webinar campaigns that started in Q1 2024 with status 'Completed'."

  • "Show me all conference campaigns in progress sorted by start date."

Troubleshooting

FAQs