Expand my Community achievements bar.

The 5th edition of the Campaign Community Lens newsletter is out now!
SOLVED

Creating a custom channel in Adobe Campaign v7

Avatar

Level 1

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,

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

3 Replies

Avatar

Correct answer by
Level 4

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

Avatar

Level 1

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