Questions tagged [exclusion-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
18 views

Exclusion script for Journey Builder send

I have two emails with identical content - one is used in one journey, the other in a second journey. However, I want to be sure that if a person happens to enter both journeys within a short ...
user avatar
  • 1
1 vote
1 answer
20 views

Use Data Extension as Inclusion instead of Exclusion

I have the following issue. I have a triggered send in the marketing cloud which is triggered directly from commerce cloud. But we are only allowed to send to people with an active OptIn. So I were ...
user avatar
0 votes
0 answers
25 views

Why is TreatAsContent () used in Exclusion script while referring the Content Block?

I have written the logic of my exclusion script in 'code snippet' Content Block. Which returns a true / false value. Then I am referring this Content Block from Exclusion Script something like this, ...
user avatar
0 votes
0 answers
35 views

Exclusion script syntax in Journey Builder

I am using below exclusion script in journey, (TreatAsContent(ContentBlockByKey("12345")) > 0) Will this lead to an error because of the '(' used in the starting? I have already ...
user avatar
0 votes
1 answer
31 views

Can we ADD an EXCLUSION SCRIPT to an existing EmailActivity in a running Journey via API [how to expire an email]

I am aware that adding exclusion scripts excluded respective Email from being excluded. I have an other team, who wish to control which emails to be excluded from journey. Are there any REST or SOAP ...
user avatar
0 votes
0 answers
31 views

I want to suppress a DE from a journey send. I added the exclusion script for it, but it returned an error

Exclusion DE Name: "chicago_Resilience_Series_Email_21_13122_27502_Suppression" Email Address field name: EmailAddress Script I added: ROWCOUNT (LOOKUPROWS ('...
user avatar
1 vote
2 answers
135 views

How to exclude objects from other packages in sfdx

How to exclude objects from other packages (prefix) in sfdx? Since I created a dependent unlocked package when I add custom fields to objects of the "needed/parent" package when I retrieve ...
user avatar
  • 2,068
0 votes
0 answers
56 views

Exclusion Script Error

I want to suppress a DE from a journey send. I added the exclusion script for it, but it returned an error. Exclusion DE Name: M04545_Last_chance_Mens_Disp_20210906 Email Address field name: email ...
user avatar
0 votes
1 answer
58 views

Exclusion script with multiple lines in Marketing Cloud

I wish to add exclusion script to one of my email. Since my exclusion script is more than 1 line, I have created a Content Block in my same email. I am following the steps given in this pagehttps://...
user avatar
0 votes
1 answer
109 views

Can we have more than 1 condition in Exclusion script for triggered sends in marketing cloud?

I have setup a triggered send in marketing cloud and it has the following sendable DE.(example:) Email_address product_id timestamp test@gmail.com 3700 xxx I wish to add an exclusion script to this ...
user avatar
  • 1
1 vote
1 answer
53 views

How to find email address available or not in the multiple data extension journey builder exclusion script

How to check in exclusion script if the Email address is in the multiple data extension should be send the email else do not send the email in journey builder email summery. IF(AND(EmailAddress IS IN ...
user avatar
  • 347
0 votes
1 answer
151 views

Using code snippet in Exclusion Script Triggered Send

I'm trying to create an exclusion script based on the output of a Code snippet which looks like: <script language="javascript" runat="server"> Platform.Load("core",...
user avatar
0 votes
0 answers
29 views

What statement should I be using to pull in new data for a subscriber versus repeating data I already have in columns

I have a large data extension that I am attempting to join multiple types of data that is associated to a single subscriber. So for instance subscriber 123 could have multiple rows of data that I want ...
user avatar
  • 1
0 votes
0 answers
39 views

Journey Builder - Multiple Exclusion Data Extensions

Firstly thanks to @Eliot Harper for giving the work around for Exclusion DEs in Journey builder. How to use an Exclusion Data Extension in a Journey Builder Send Email Activity But is there a way to ...
user avatar
2 votes
0 answers
453 views

Pausing Records in Journey Over Weekend

I'm looking to build a journey that sends a few emails only during the weekdays and then on Monday would send to anyone that was at that point over the weekend. As an example, a record downloads a ...
user avatar
0 votes
0 answers
24 views

Filtering users out in a journey via values housed in separate DE

GOAL: Create a API event journey that filters users out based off of values passed in the API call when compared against matching values in matching fields in a separate data extension. I have a ...
user avatar
0 votes
1 answer
134 views

Can't Save Exclusion Script on Triggered Send

I'm attempting to input the following exclusion script on a triggered send in Marketing Cloud. However, whenever I attempt to do so, the exclusion script will not save. I'll click 'Save' and then '...
user avatar
0 votes
1 answer
89 views

Exclusion script using Journey Entry data

I have a Journey which inserts all my Orders, after 6 hours of wait time I want to send an Abandoned Cart email to the customer. To achieve this I plan to exclude any "status!=pending" rows ...
user avatar
0 votes
1 answer
202 views

Data Extension field has Colon

I am attempting to use an exclusion script on my emails in Journey Builder. We are loading a data extension with opportunities that we would want to exclude from the send. Our exclusion looks like ...
user avatar
2 votes
0 answers
56 views

Exclude domains from sends on child business unit level [duplicate]

Working as a Marketing Cloud marketeer in a franchisee setup with 170 child business units I'd like for the franchisee marketeers for every child business unit to be able to always exclude certain ...
user avatar
0 votes
1 answer
192 views

Frequency capping with AMPScript Exclusion script

Our dataextensions might have the same email address with different subscriber keys, and when i send multiple emails a day to different data extension, i am sending multiple emails to those emails ...
user avatar
  • 3
0 votes
1 answer
234 views

Exclusion Script using Content Block hangs with +2800 records

I'm using an exclusion script that uses an HTML Content Block, is in the Content Block where all the ampscript logic lives, for the sake of simplicity, the ampscript in the Content Block only declares ...
user avatar
0 votes
0 answers
124 views

Deduplicate Triggered Sends in Marketing Cloud

I'm finding a difficulty with de-duplicating triggered sends in Marketing Cloud. There are 3 Triggered Sends in the System. They can be triggered at the same time by a single transaction in ...
user avatar
  • 1
1 vote
1 answer
95 views

Geo Location Push Messages Exclusion List

Is there a way to apply an exclusion list to Geo location Push message through Salesforce Marketing cloud? Let's say I want to send anyone who is within the proximity of xyz hotel a geo location push -...
user avatar
1 vote
1 answer
199 views

Exclusion Scripts for Opt-outs

We have a custom preference center, with opt-out changes landing in a data extension. I would like to create an exclusion script for Journey Builder sends that takes into account the opt-outs from ...
user avatar
  • 508
2 votes
1 answer
234 views

Limit number of emails sent to user across multiple Business Units with Override Option

I have a request to create a way to limit the number of non-transactional emails a user can receive. I saw some other questions suggesting the use of a Data Extension to control it, but in this case I ...
user avatar
0 votes
1 answer
128 views

Exclusion Script with Multiple DEs

Can you use multiple DEs in an exclusion script for journey sends? I am currently using this template: ROWCOUNT(LOOKUPROWS("DE", "Email", emailaddr))> 0
user avatar
4 votes
1 answer
274 views

Journey builder email send activity exclusion script issue

I am trying to use an exclusion script in an email send activity to inject data to a data extension. I have no intention of sending the email. I have tried with both upsertDE() (the email send ...
user avatar
  • 41
2 votes
1 answer
100 views

Exclusion Scripts for already in Journey

There are 5 version of Journey and all older version are still finishing and version 5 is currently running. Now I need to change the exclusion script in all email steps. There are two ways I am ...
user avatar
  • 23
0 votes
1 answer
297 views

Exclusion Script more than one DE

I have a question about using exclusion script. How should you write it if you are trying to exclude 2 data extensions? I can't find examples of this anywhere. Below is what I came up with: ROWCOUNT(...
user avatar
1 vote
3 answers
753 views

Is it possible to create a supression list purely based on domains (not full emails)? For example for competitors?

Is it possible to create a suppression list purely based on domains e.g. for competitor domains without having the full email address of these contacts. This would allow to automatically exclude any ...
user avatar
1 vote
1 answer
197 views

SubscriberKey and exclusion data extension/ exclusion script

When we use a Data Extension as an exclusion Data extension or in an exclusion script, is it enough if we only have the "SubscriberKey" field? It is enough to exclude those contacts? Or should we also ...
user avatar
0 votes
1 answer
46 views

Behavior when a record is deleted from exclusion list and email job uses that record

We have a use case. We have an email sending job from batch and blast. The records to which the email is sent, are pushed to a Data extension which acts as an exclusion list. Now lets say we have an ...
user avatar
  • 2,450
0 votes
1 answer
496 views

Find email address that are part of a domain exclusion data extension

I'm looking to find all email addresses in our database where the email address domain is included in one of our domain exclusion data extension. I thought of using something like the below, but it ...
user avatar
  • 171
0 votes
1 answer
318 views

Exclusion Script with time

I'm on a learning curve with AMPscript and need to add a time frame to a Exclusion Script. Basically I'm using the exclusion script below in a Trigger Send. But I would like to add a time frame. ...
user avatar
  • 15
3 votes
3 answers
1k views

Email Frequency Capping in Marketing Cloud Connect

I want to do the Frequency Capping to those Emails which are sent/triggered from the Marketing Cloud Connect. I know that we can add the exclusion Script to the Journey Emails, Content Builder Emails,...
user avatar
1 vote
0 answers
115 views

Exclusion Script with Salesforce Data Extension

I'm using the folowing Exclusion script ROWCOUNT(LOOKUPROWS("DE_TEST_FORCE10_FR", "CLI_AdresseEmail", emailaddr))> 0 during a one shot email and it works very well, the issue is when I move the ...
user avatar
1 vote
1 answer
256 views

Instant trigger email to new subscribes only in a data extension

I have a data extension in SFMC that is being populated with opt-ins from an external source. I would like to trigger an instant welcome email ONLY to anyone who is added to this data extension. How ...
user avatar
  • 43
1 vote
1 answer
252 views

Removing unengaged subscribers account wide

I have a data extension created for contacts we have deemed unengaged based on a predefined set of criteria. This data extensions updates once a week through an automation. For example one of the ...
user avatar
3 votes
3 answers
641 views

Exclusion Script for multiple Send Log variables in Journey Builder Email Send

Have a bit of a complex exclusion requirement and haven't been able to find a script that works. Background A contact submits a web form for a brochure on a model called 'Pear'. This enters them ...
user avatar
  • 97
1 vote
1 answer
5k views

Exclusion List in Journey Builder

I've set up a journey in Journey Builder however I want to exclude a list of customers. When sending an email from Content Builder it allows me to exclude and suppress lists but this option is not ...
user avatar
  • 21
2 votes
2 answers
445 views

Exclusion Script in Triggered Email Send

I get how I can exclude a certain email using the below script using the key or email. I'm looking to exclude certain email addresses based on it either containing certain characters or because it ...
user avatar
-2 votes
1 answer
453 views

Exclusion Script for Triggered Send

I need exclusion script for Trigger send definition to exclude records on type of activity. This is sample table that is sendable: Sample_Customeractivity_table I have another trigger DE ...
user avatar
0 votes
1 answer
71 views

How to exclude type of activity in triggersend definition?

I am trying to send trigger email using triggersend definition. Sources:- Sendable DE "Customeractivity" and triggersend DE "TriggerDE" 10 types of activity will be there. i am pushing records to "...
user avatar
0 votes
1 answer
209 views

Inverse exclusion script

I'm wondering if anyone can help me with a problem I'm having. I'm trying to create an exclusion script for an automated journey. I have another another data extension with a list of people I wish to ...
user avatar
0 votes
1 answer
1k views

Marketing Cloud - Exclusion script

I am attempting to write AMP Script for an exclusion of certain emails in an DE. Now this DE users subscriber key though. I am not able to perform a send. I recieve the following error msg for the ...
user avatar
0 votes
1 answer
44 views

Exclude REST API request based on the IPs

I desire to discard certain requests coming from a specific IP. I'm using dynamic emails through AMPScript and Triggered Sends+Data Extensions. I'm able to discard certain requests when are not ...
user avatar
1 vote
1 answer
885 views

How to stop a Journey Builder email send in a specific date forward using Exclusion Script?

I have an email which needs to be stopped from being sent on a particular date moving forward (20170816) in a journey. For this purpose I have tried using the Exclusion Script. However the script ...
user avatar
  • 3,052
0 votes
1 answer
2k views

Simple exclusion script for journey builder send

I have an existing journey in journey builder. The emails it sends now have to exclude people present on another data extension. Having never used exclusion scripts before, what would I need to write ...
user avatar
  • 792
0 votes
2 answers
4k views

Exclusion Script inside Journey Builder

I have a separate data extension that includes all of our BAD email data (yes, we should have cleaned this out before importing into SFMC). Is the below code proper syntax for removing all the ...
user avatar
  • 1,377