Skip to main content

Questions tagged [custom-activity]

Use the custom-activity tag when your question is about building and working with custom activities in Journey Builder in Salesforce Marketing Cloud

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Extra parameters of Custom Activity Execute

Could you please explain if there is any possibility to extend the parameters which are transfered via POST /execute request when Custom Activity executed? I would like to receive the Journey Name in ...
Stranger's user avatar
-1 votes
1 answer
57 views

{{Event.EventDefinitionKeyPrefix.First Name}} not working

how to retrieve dynamic value of data extension column such as "First Name"
aswin's user avatar
  • 99
0 votes
0 answers
46 views

how to secure custom activity endpoint other than of /save,/publish,/validate and /execute

Inside my journey builder custom activity i am using custom endpoint to retrieve information and display in UI, i am thinking hosting custom activity as an static website (/public). we can specify ...
aswin's user avatar
  • 99
0 votes
0 answers
139 views

"Missing message activity" warning

I have created a new message custom activity that works fine The config.json has a "category":"message" option and the package is registered as "message", but still upon ...
Felipe Garcia's user avatar
1 vote
0 answers
92 views

How make custom activity

I need to create a custom activity for Journey that must take the dataextension in input and associate to each a code (taken from an external API) and make a post call to an external server with [{...
Rotten_Mind666's user avatar
0 votes
0 answers
42 views

Can I pass values in the body root instead of through inArguments with Marketing Cloud Custom Activity

Originally posted to stackoverflow before finding this community. We built a custom activity POST in Journey Builder. It works as designed, connects to our API and passes field:value pairs like a ...
Scott's user avatar
  • 1
0 votes
0 answers
126 views

How to debug a Hard Error coming from a Journey Builder Custom Activity in Marketing Cloud

Dears, we are trying to implement a Custom Activity in Journey Builder in Marketing Cloud. It works perfectly in our test BU but creates a Hard Error on production BU. The logs of the app behind the ...
Ivan Razine's user avatar
1 vote
0 answers
38 views

Sequential contact number in SFMC journey builder

I have a custom journey builder activity in which it would be helpful to have some Sequential contact number sent in inArguments for each contact that enters the activity (e.g. first contact that ...
mradovcic's user avatar
0 votes
0 answers
82 views

'activityInstanceId' field on execute request of a custom activity and where to find it in journey history?

I have a custom activity that uses activityInstanceId field from request as unique id for each request. I now need to somehow connect that id that I save on my side to contact for which activity was ...
mradovcic's user avatar
0 votes
0 answers
78 views

I there any example of custom activity other than REST

As per the documentation here: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/custom-activity-config.html These are valid values for type: MultiCriteriaDecision ...
SebOB's user avatar
  • 807
0 votes
1 answer
115 views

Get Business Unit Ids to be used in Custom Activity for Marketing Cloud

we have developed a custom activity to integrate Twilio in Marketing Cloud, it is working fine connecting Marketing Cloud to the Twillio account and sending SMS to the contacts in the source Data ...
David Boada's user avatar
0 votes
1 answer
499 views

Reporting Hard / Soft errors in custom activity execute (Journey Builder)

I'm working on a custom activity (NodeJS) for Journey Builder that sends SMS through a third party API. The SMS is sent when the "execute" method is called for each contact. When something ...
Franck Wolff's user avatar
0 votes
1 answer
339 views

SFMC - Sending sms via customer´s own gateway using custom activity in journey builder - how?

My customer wants to use their own gateway for sending sms with Journey Builder/Custom Activity in Marketing Cloud. Someone out there who has done that successfully and who could post me some good ...
Tove Walden's user avatar
0 votes
0 answers
33 views

Make JB Custom Activity run only once in a journey

I am working on an activity that sends a test message that takes from another existing custom activity, and the goal is for that test message to only be sent once in a journey. As in, in a Journey ...
ia-dev's user avatar
  • 1
0 votes
0 answers
68 views

Getting activity Id in postmonger onRequestedInteraction event

I am looking for possibility to get an id of next activity following my custom activity. My idea was to use postmonger requestInteraction event, where I was able to get current journey JSON object ...
Zeljan Dobric's user avatar
0 votes
1 answer
143 views

Custom Split Activity is getting a 403 (Forbidden) error every time

I need to make an API call to check whether a particular user is excluded or not directly within Journey Builder. In this case, I'm implementing a Custom Split Activity. My config.json as follows: { &...
Prasad Ruwanpathirana's user avatar
0 votes
1 answer
62 views

SFMC: Advance a contact manually in the journey builder

I have a custom activity in the journey builder. I am doing a third party API call. The third party api call needs to send contact infos in batches. For that i have a queue that collects the data from ...
Genci's user avatar
  • 1
0 votes
0 answers
151 views

Building a Custom Journey Builder Activity that would insert a row in a data extension

I am trying to insert a row into a Data Extension when a Contact enters the Custom Journey Builder Activity. I am trying to insert a row with two attributes: Cohort (which is entered via the custom ...
sfmc_sm's user avatar
1 vote
1 answer
129 views

Custom Activity - How to get InArgument in Validate endpoint

I am developing a custom activity and I want to get the InArgument and eventDefinitionKey in /validate endpoint : The req.body have just some properties here: So, Can anyone let me know how can I ...
hieu dose's user avatar
1 vote
0 answers
120 views

Journey Builder Custom Activity has strange EventDefinitionKey

I have a Journey whose entry source is a DataExtension used by Automation. Initial eventDefinitionKey is "DEAudience". After run about few days. I don't understand why the eventDefinitionKey ...
hieu dose's user avatar
0 votes
1 answer
574 views

Custom activity and Ampscript

Is it possible to perform ampscript operations inside a custom activity? Can Postmonger perform ampscript operations?
SpinXO's user avatar
  • 25
0 votes
1 answer
435 views

MC - Dataview - activity ID = activity name mapping

I want to know message results per journey. I'm using a 3rd party app for messaging, and the results are only shown as activity ID not activity name, so I can't define which message result this is. **...
Luna's user avatar
  • 37
1 vote
1 answer
192 views

Journey Builder/Custom Activity: inArguments data schema

I am developing my first Custom Activity, and struggling with finding the dataschema with description of an available keys (a.k.a. mustache-selectors) for inArguments field in the config.json e.g for ...
Kiryl Ye's user avatar
0 votes
1 answer
222 views

Journey Builder custom activity - deduplicating requests

I found a github repo with custom activity: https://github.com/smashew/sfmc-example-jb-custom-activity Here it is mentioned: "For each request, we include two Guid fields activityId and ...
Monika Urbańska's user avatar
0 votes
0 answers
431 views

SFMC Journey Builder Custom Activity - deployment to AWS

I'm currently building custom activity for Journey Builder. As of now I host it on Heroku but I'd like to move it to AWS. Does anyone done this and can tell me which AWS tools would be needed? I've ...
learningFox's user avatar
0 votes
1 answer
411 views

Get Journey Id as InArgument in Custom Activity

I need to get the JourneyId as InArgument during the execution of a Custom Activity. But I cannot find how to get it in Postmonger event reference or in the list of properties of the Journey Context. ...
Jacob Rodriguez's user avatar
0 votes
1 answer
379 views

Salesforce Marketing Cloud Custom Activity 401 Error

I tried building a sample SFMC custom activity that will do a post to the given input cloud page URL. App is deployed correctly in Heroku as well as setup is done correctly in SFMC. Journey is also ...
Avik Roy's user avatar
1 vote
1 answer
1k views

SFMC Journey Builder custom activity API requirements

I have a Custom REST Activity. When I activate a Journey with my activity for a large number of clients (DE entry) what are the requirements for MyAPI? is there a limit on the number of requests to ...
el-niko's user avatar
  • 11
2 votes
0 answers
80 views

In SFMC's Journey Builder Custom Activity, how do I register a contact as not processed in the /execute endpoint?

I have a custom activity created and have configured it to hit the /execute endpoint which I wrote. When I activate the journey, I get hits to the /execute endpoint. However, in the /execute endpoint, ...
Vedant's user avatar
  • 21
3 votes
0 answers
77 views

Guidance on using validation endpoint of salesforce journey builder custom activity [closed]

We are building an SFMC journey builder custom activity where configuration includes 3 screens in a wizard-like structure (Back / Next / Finish). On each screen, we would like to validate the ...
Jags's user avatar
  • 131
0 votes
0 answers
309 views

How to get contact fields in custom activity

I am new to the salesforce and I have created a custom activity(REST). In my config.json file > arguments.execute.inArguments, I want to get my contact fields. I have following code: { "...
Niraj Chauhan's user avatar
0 votes
1 answer
754 views

Retrieve fields from dynamic data extention in Custom activity?

I am having little issue : in my js script I am trying to push some data dynamically : /** * Save settings */ function save() { //if($form.valid()) { payload['metaData'].isConfigured = ...
TaouBen's user avatar
  • 154
2 votes
2 answers
752 views

Pass arguments to Execute method in Custom Activity?

Hello I am having a little issue, I am using a template I found online, this, I have hosted it and it is working properly when it comes to ethds executiion and so on : The issue is That I am trying to ...
TaouBen's user avatar
  • 154
2 votes
0 answers
274 views

Error on Journey Builder validation Custom Activity

I have a Custom Activity, it's mean to trigger Whatsapp messages through an API. For some cases, the activity works correctly, but sometimes, on the validation step, it returns me the error: "The ...
Guilherme A.'s user avatar
0 votes
1 answer
374 views

How to configure config.json so that batch contacts gets processed?

I am designing a journey builder custom activity. The official documentation says execute - The API calls this method for each contact processed by the journey. However I want to to configure ...
sfmcconnect's user avatar
2 votes
0 answers
777 views

Journey Builder Custom Activity EventDefinitionKey when running through Automation

I have a Journey whose entry source is a DataExtension used by Automation. The eventDefinitionKey is coming as "AutomationAud" rather than "DEAudience". The Set Schedule is set to ...
Sharath Jallu's user avatar
0 votes
1 answer
622 views

Custom Activity - no inArguments in request body

I am developing a custom activity and I want to get the subscriberKey from my Data Extension as an inArgument. I use data binding, but don't have a relationship between my DE and Contact Builder, as ...
user107262's user avatar
0 votes
1 answer
299 views

Custom activity not available

I created an API for trigger whatsapp messages. The core is to get the contact's number on a Data Extension, created an Attribute Group, but the activity doesn't shows on journey builder's canvas. ...
Guilherme A.'s user avatar
0 votes
1 answer
366 views

SFMC Custom Activity Execute endpoint only called at 1st version of a new journey

I recently needed to migrate my Custom Activity of type message to another environment. Testing it now, I get some very weird behaviour. When I create a new journey and call the custom activity for ...
Thomas Obermeier's user avatar
1 vote
1 answer
705 views

Is possible load a custom activity on journey with another webservice and not heroku?

I've created an app and uploaded it on Heroku and works great but I need to upload it on Cloudfront but when I do it I'm getting this error bellow. Inspecting the browser I can see that journey is ...
derick noya's user avatar
1 vote
0 answers
364 views

SFMC error when creating custom activity: A custom activity or entry source failed validation

I am creating a custom activity and use this guide for it. However when I try to use my activity in Journey Builder, I get this error: "A custom activity or entry source failed validation. Check ...
user106958's user avatar
0 votes
0 answers
346 views

Use SOAP API for Custom Activity in Journey

I want to create a custom activity in journey builder to send an SMS to customers. I have gone through the salesforce marketing cloud document and they're mentioned that we can only use REST API in ...
Rahul's user avatar
  • 11
0 votes
1 answer
974 views

Custom activity - Push notification from marketing cloud to a app written in flutter

Goal:: What I want is for my marketing team to be able to set up a geofence and a push-message through a custom activity in journey builder. Problem: The mobilePUSH SDK doesn't support flutter which ...
Paul Kristensen's user avatar
0 votes
0 answers
226 views

Invoking 3rd party APIs via Salesforce Marketing Cloud

We intend to use the Journey Builder of the Salesforce Marketing Cloud in order to invoke a 3rd party HTTP-based API. As far as I can tell, our only viable option is following the guidelines of: Build ...
Greg's user avatar
  • 1
0 votes
1 answer
223 views

Why do my custom activities just sit on a greyed-out loading screen when I try to view them in Journey Builder?

I have built two different custom activities and hosted them on two different hosting platforms and both of them view fine when I load them in the browser, but when I add them to a journey and click ...
Cail Desrochers's user avatar
0 votes
0 answers
28 views

Hosting a Custom Activity on Marketing Cloud [duplicate]

I'm creating a Custom Activity and I would like to try to host its files directly on Marketing Cloud, let's say, on Web Studio using CloudPages. As far as I understand, Cloudpages does not expose the ...
MHG's user avatar
  • 15
3 votes
1 answer
552 views

Retrieve updated data from Journey Builder EntryEvent (data Extension) in Custom Activity

We're building a Custom Activity that will send a push message to a external platform from Journey Builder. In usage of the Journey, a Emailactivity will update the Entry Event data extension, adding ...
Niels Meerum Terwogt's user avatar
3 votes
1 answer
417 views

Custom Activity in Journey Builder gets a 400 error when it tries to POST to an external API endpoint... What happens next? Do they keep going?

When a Custom Activity in Journey Builder tries to POST to the app's external API endpoint and gets a 400 error, what happens to the subscriber's flow through the journey? Does SFMC retry the API ...
Will's user avatar
  • 194
2 votes
2 answers
1k views

Journey Builder Custom Activity to stop Contact from continuing the journey

We have this custom activity in my Journey and we do a validation of these contacts on our side. If the contact validation failed on the custom activity journey, we want it to stop the journey of ...
rob waminal's user avatar
0 votes
1 answer
341 views

SFMC Custom Activity using Azure Functions

Can SFMC understand Azure Function Configuration Data similar to Web app Config Data? I tried below: Created a basic Azure Function which loads the Index.html File using fs.readFile module. ...
Sharath Jallu's user avatar