Creating a custom channel in Adobe Campaign v7 | Adobe Higher Education
Skip to main content
February 7, 2022
Respondido

Creating a custom channel in Adobe Campaign v7

  • February 7, 2022
  • 1 resposta
  • 1943 Visualizações

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,

 

Este tópico foi fechado para respostas.
Melhor resposta por 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 Resposta

Amine_Abedour
Community Advisor
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