Creating a custom channel in Adobe Campaign v7 | Community
Skip to main content
February 7, 2022
Solved

Creating a custom channel in Adobe Campaign v7

  • February 7, 2022
  • 1 reply
  • 1943 views

Hello dear support team,

 

I'm looking for a procedure to add a custom channel into Adobe (like "Batch" (https://batch.com/fr) for the push notification or MSU, a custom homemade channel, for secured messages).

Thank you very much,

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Amine_Abedour

Hello @alepeculier,

 

You can do this by creating a Javascript that overload the native "processDeliveryPart" function.

Your Javascript should look like this :

 

//-------------------------------------------
//Overload Adobe Campaign Delivery Connector
//-------------------------------------------
function processDeliveryPart(deliveryPart){
	for each ( var msg in deliveryPart.message ){
		// do what you have to do with your message. i.e call Batch API to send message
	}
}

Then you should create a new External account for this channel. In the "Connector" part on this External account you specifie the JS that you've created previously.

 

That's the general idea.

 

Br,

 

Amine

1 reply

Amine_Abedour
Community Advisor
Amine_AbedourCommunity AdvisorAccepted solution
Community Advisor
February 7, 2022

Hello @alepeculier,

 

You can do this by creating a Javascript that overload the native "processDeliveryPart" function.

Your Javascript should look like this :

 

//-------------------------------------------
//Overload Adobe Campaign Delivery Connector
//-------------------------------------------
function processDeliveryPart(deliveryPart){
	for each ( var msg in deliveryPart.message ){
		// do what you have to do with your message. i.e call Batch API to send message
	}
}

Then you should create a new External account for this channel. In the "Connector" part on this External account you specifie the JS that you've created previously.

 

That's the general idea.

 

Br,

 

Amine

Amine ABEDOUR
February 8, 2022

Hello Amine,

thank you for your feedbacks. Then, I understand that to communicate to the custom channel, it depends on the available APIs

 

BR,

Aristide

Amine_Abedour
Community Advisor
Community Advisor
February 8, 2022

Aristide,

 

Exactly. you can find Batch api doc here .

 

Br,

 

Amine

Amine ABEDOUR