{"id":87177,"date":"2024-12-08T05:07:21","date_gmt":"2024-12-08T13:07:21","guid":{"rendered":"https:\/\/rightwave.com\/rwi\/?page_id=87177"},"modified":"2024-12-10T20:02:42","modified_gmt":"2024-12-11T04:02:42","slug":"add-promo-code","status":"publish","type":"page","link":"https:\/\/rightwave.com\/rwi\/rdn-help\/advanced-services\/add-promo-code","title":{"rendered":"RDN Add Promo Code"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"87177\" class=\"elementor elementor-87177\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0cfdca2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0cfdca2\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b45b270\" data-id=\"b45b270\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-8100547 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8100547\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-8446356\" data-id=\"8446356\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b62785 elementor-widget elementor-widget-heading\" data-id=\"2b62785\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">RDN Add Promo Code<\/p>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-04a17b5 elementor-widget elementor-widget-heading\" data-id=\"04a17b5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">The Promo Code Lookup service provides Promo Codes one by one to the user from the list of Promo Codes. You can upload the list of Promo Codes either manually or via importing a CSV file. \n<\/p>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-aea6e5d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"aea6e5d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-10692a5\" data-id=\"10692a5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8410dd4 elementor-widget elementor-widget-text-editor\" data-id=\"8410dd4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">The Promo Code Lookup service provides Promo Codes one by one to the user from the list of Promo Codes. You can upload the list of Promo Codes either manually or via importing a CSV file.\u00a0<\/span><\/p><p><b>To use the Promo Code Lookup service, please follow the below instructions :<\/b><\/p><p><span style=\"font-weight: 400;\">1. Click on the Manage Service button corresponding to the \u2018Add Promo Code\u2019 Service.\u00a0\u00a0<\/span><\/p><p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-87367 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9.png\" alt=\"\" width=\"1892\" height=\"837\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9.png 1892w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9-300x133.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9-1024x453.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9-768x340.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image6-9-1536x680.png 1536w\" sizes=\"(max-width: 1892px) 100vw, 1892px\" \/><\/p><p><span style=\"font-weight: 400;\">2. After that click \u2018+\u2019\u00a0 icon to create a\u00a0 new Promo Code Lookup.<\/span><\/p><p><img decoding=\"async\" class=\"alignnone wp-image-87368 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8.png\" alt=\"\" width=\"1890\" height=\"892\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8.png 1890w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8-300x142.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8-1024x483.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8-768x362.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image9-8-1536x725.png 1536w\" sizes=\"(max-width: 1890px) 100vw, 1890px\" \/><\/p><p><span style=\"font-weight: 400;\">3. Enter the Promotion Name and Description.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">There are two options to add Promo Codes in Promo Code Lookup:<\/span><\/p><ol><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CSV- It can be used in case of a large amount of Promo Code. Maximum 1000 Promo Codes can be added to the Promo Code Lookup.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Manual- It can be used in case of a few Promo Codes to add.<\/span><\/li><\/ol><p><img decoding=\"async\" class=\"alignnone wp-image-87369 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12.png\" alt=\"\" width=\"1898\" height=\"763\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12.png 1898w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12-300x121.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12-1024x412.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12-768x309.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-12-1536x617.png 1536w\" sizes=\"(max-width: 1898px) 100vw, 1898px\" \/><\/p><p><span style=\"font-weight: 400;\">4. Enter the Promo Code manually for up to 10 entries. If you have more data, import the data from a CSV file.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-87374 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13.png\" alt=\"\" width=\"1885\" height=\"855\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13.png 1885w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13-300x136.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13-1024x464.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13-768x348.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-13-1536x697.png 1536w\" sizes=\"(max-width: 1885px) 100vw, 1885px\" \/><\/p><p><span style=\"font-weight: 400;\">5.\u00a0 There should be only one column in CSV i.e. <\/span><b>Promo Code<\/b><span style=\"font-weight: 400;\">. The first row of the CSV file is considered as a column name and the remaining rows are considered as data and 1,000 entries maximum including the header.<\/span><\/p><p><span style=\"font-weight: 400;\">6. Duplicate Promo Codes will be discarded.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-87375 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13.png\" alt=\"\" width=\"1906\" height=\"699\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13.png 1906w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13-300x110.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13-1024x376.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13-768x282.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-13-1536x563.png 1536w\" sizes=\"(max-width: 1906px) 100vw, 1906px\" \/><\/p><p><b>Example of Add Promo Code service call:\u00a0<\/b><\/p><p><span style=\"font-weight: 400;\">Suppose the company is providing Promo Codes to the first 500 users for an event, who have registered for the event through a web form. For such a scenario, users can utilize the Promo Code service of RDN by creating a Promo Code Lookup and adding the Promo Codes through CSV. For Example, Promo Code lookup gives the following URL:<\/span><\/p><p><a href=\"https:\/\/api.rw001.com\/rdn\/api\/adv\/promocode?promotion_name=%7BMarketo\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/api.rightwave.com\/rdn\/api\/adv\/promocode?promotion_name={Marketo token for promotion_name}&amp;email={Marketo token for email}<\/span><\/a><\/p><p><span style=\"font-weight: 400;\">Two below input parameters are required after the process of getting API string URL:<\/span><\/p><ol><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">promotion_name: Name of the Promotion.<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">email: valid email id.<\/span><\/li><\/ol><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-87376 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8.png\" alt=\"\" width=\"1900\" height=\"879\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8.png 1900w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8-300x139.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8-1024x474.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8-768x355.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image7-8-1536x711.png 1536w\" sizes=\"(max-width: 1900px) 100vw, 1900px\" \/><\/p><p><span style=\"font-weight: 400;\">7. Please make sure to use the correct fields as input parameters and map the response of the service with the correct fields in the Marketo.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-87377 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7.png\" alt=\"\" width=\"1892\" height=\"742\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7.png 1892w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7-300x118.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7-1024x402.png 1024w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7-768x301.png 768w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image5-7-1536x602.png 1536w\" sizes=\"(max-width: 1892px) 100vw, 1892px\" \/><\/p><p><b>Webhook URL : <\/b><a href=\"https:\/\/api.rw001.com\/rdn\/api\/adv\/promocode?promotion_name=%7BMarketo\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/api.rightwave.com\/rdn\/api\/adv\/promocode?promotion_name={Marketo token for promotion_name}&amp;email={Marketo token for email}<\/span><\/a><\/p><p><span style=\"font-weight: 400;\">You can use this URL in Webhook which will be called after the user registration.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">The API call will give a Promo Code in JSON form as below:<\/span><\/p><p><b>Output JSON :<\/b><span style=\"font-weight: 400;\"> {&#8220;promocode&#8221;:&#8221;&lt;promocode value&gt;&#8221;}<\/span><\/p><p><span style=\"font-weight: 400;\">You can map the Promo Code field with a Marketo field which you can further use in email to the registered user.<\/span><\/p><p><b>Steps to follow in Marketo:<\/b><\/p><h4><b>Service Name: <\/b><span style=\"font-weight: 400;\">Add Promo Code<\/span><\/h4><p><b>Service type:<\/b><span style=\"font-weight: 400;\"> Advanced Service<\/span><\/p><p><b>Service Description: <\/b><span style=\"font-weight: 400;\">The Promo Code service provides Promo Codes one by one to the right user from the list of Promo Codes uploaded in RDN for the respective event.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">For Example, you have a list of 100 Promo Codes that you have uploaded in RDN. Now whenever the Webhook call will be made from Marketo, this service will provide one Promo Code for each Webhook call. Please note that if a Promo Code is assigned to a specific user then that Promo Code will be not available for any other user.\u00a0<\/span><\/p><p><i><span style=\"font-weight: 400;\">Please note that the request parameters values (in step 2) and Marketo Fields (in step 4) are just for example. You have to enter the values as per your service requirement.<\/span><\/i><\/p><p><b>Steps to configure service Add Promo Code in Marketo<\/b><\/p><p><span style=\"font-weight: 400;\">1. Go to Admin and click Webhooks. Click New Webhook.<\/span><\/p><p><span style=\"font-weight: 400;\">2. Name and configure your webhook for the Service Add Promo Code.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-87378 size-full alignnone\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image8-7.png\" alt=\"\" width=\"633\" height=\"778\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image8-7.png 633w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image8-7-244x300.png 244w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/p><p><b>Webhook Name<\/b><span style=\"font-weight: 400;\">: Name of the webhook. In the above example, the Webhook name is the same as the Service name. Webhook name can be provided as per requirement.<\/span><\/p><p><b>URL<\/b><span style=\"font-weight: 400;\">: The URL of the Service Add Promo Code. The URL has domain and query parameters that will remain the same. You just have to change the parameter values with Marketo Token. To insert a token, click Insert Token.<\/span><\/p><p><b>Template<\/b><span style=\"font-weight: 400;\">: It will remain blank.<\/span><\/p><p><b>Request Token Encoding<\/b><span style=\"font-weight: 400;\">: It will remain None in case of POST, in case of GET field will be uneditable.<\/span><\/p><p><b>Response type<\/b><span style=\"font-weight: 400;\">: Select the response format as JSON.<\/span><\/p><p><b>Request Type<\/b><span style=\"font-weight: 400;\">: The Request Type will remain the same (i.e.) GET as given in the example.<\/span><\/p><ol start=\"3\"><li><b> Add Authentication Header.<\/b><\/li><\/ol><p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-87379 size-full alignnone\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image4-8.png\" alt=\"\" width=\"797\" height=\"501\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image4-8.png 797w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image4-8-300x189.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image4-8-768x483.png 768w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/p><p><i><span style=\"font-weight: 400;\">Please note that the auth-key shown above is the original auth-key. So, the same value of auth-key and Content-Type should be used while configuring Webhook as shown.<\/span><\/i><\/p><ol start=\"4\"><li><b> Response Mappings<\/b><span style=\"font-weight: 400;\">: Response Mappings are created via a pairing of a Response Attribute. The Response attribute depends on the output you are returning from the Custom service JavaScript function. It is recommended to return JSON from the custom service so that you can easily map it with the Marketo field.<\/span><\/li><\/ol><p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-87380 size-full\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image10-7.png\" alt=\"\" width=\"563\" height=\"361\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image10-7.png 563w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image10-7-300x192.png 300w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>RDN Add Promo Code The Promo Code Lookup service provides Promo Codes one by one to the user from the list of Promo Codes. You can upload the list of Promo Codes either manually or via importing a CSV file. The Promo Code Lookup service provides Promo Codes one by one to the user from&hellip;<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":87157,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-87177","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/comments?post=87177"}],"version-history":[{"count":4,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87177\/revisions"}],"predecessor-version":[{"id":87386,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87177\/revisions\/87386"}],"up":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87157"}],"wp:attachment":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/media?parent=87177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}