When managing HubSpot contact workflows, you might need to retrieve detailed information about a marketing campaign based on a contact's input, such as finding a campaign's details using an "Event Name" they submitted in a form.
This process—dynamically searching for another object (in this case, a "Marketing Campaign") and using its data in subsequent actions—is made possible by 3rd-party custom workflow actions.
This article explains the purpose, use cases, and setup steps for the "Campaign Search Action" shown in your video.


The primary purpose of this action is to search for a "Marketing Campaign" that matches specific criteria (e.g., Campaign Name) during a contact workflow. It then outputs multiple pieces of information about that campaign, such as its "Campaign ID," "Campaign Name," and "Campaign Notes."
The ultimate goal is not just association, but to use this retrieved data to update the contact's properties or to add detailed context to automated tasks for your sales or marketing teams.
This action is valuable for connecting a contact's activities with your marketing initiative data.
campaignNotes contains the keyword "VIP," add the contact to a "VIP Follow-up" list.The video demonstrates the setup and execution of the "Campaign Search Action."
Step 1: Add the Action (0:04 - 0:09)In the workflow editor, click the "+" icon. The left sidebar opens, and the user selects the "Custom Workflow Business V2" app.
Step 2: Select "Campaign Search Action" (0:10 - 0:12)From the app's list of actions, click "Campaign Search Action" to add it to the workflow.
Step 3: Configure Search Criteria (0:13 - 0:20)In the action's setup panel on the left, you define which campaign you are looking for.
Step 4: Save Configuration (0:21 - 0:23)Click the "Save" button to complete the action setup.
Step 5: Run Workflow & Check History (0:24 - 0:32)The workflow is turned on and run. In the "History" tab, the "Campaign Search Action" shows as "Action succeeded."The log details (right panel) show the "OUTPUTS." You can see that campaignName ("test1"), campaignId, and campaignNotes have all been successfully retrieved.
Step 6: Verify the Result (0:33 - 0:36)(As a supplement to the demo) The user then switches to the "Campaigns" list in HubSpot and confirms that the campaign named "test1" with the matching ID exists.
This action only retrieves the data. To use it, you must add subsequent actions.
Example 1: Update a Contact Property
[campaignId] token from the "Campaign Search Action" data source.Example 2: Add Context to a Task
[campaignName] and [campaignNotes] tokens from the "Campaign Search Action." This creates a much more informative task for your team.
No, it is not. This is a custom action that becomes available by installing a third-party app called "Custom Workflow Business V2."
No, it does not automatically associate them. As explained in this article, this action's role is to search for and output the campaign's information (like its "ID," "Name," or "Notes"). For example, to save the retrieved ID (campaignId) to a contact's property (e.g., "Attended Campaign ID"), you must add HubSpot's standard "Set property value" action after this custom action.
Yes, you can. That is the most common use case for this action, as explained in the "Main Use Cases" section. Instead of entering a fixed value in the search criteria (Query) in Step 3, you would set a property token from the contact enrolled in the workflow (e.g., [Event Name from form]). This allows you to perform a dynamic search, such as "find the campaign with the event name that Contact A specified."
We can customize this sample to match your specific business requirements.
Book Free Consultation