Lob's API products empower technology-focused companies to build powerful applications to control and scale their physical mailing. Instead of working through the complexities of direct mail, you can now access commercial grade printing & mailing infrastructure on-demand via a simple RESTful API.

Set up integration

Before you can integrate with Blueshift, you must have your Lob account set up. 

Integrating your Lob account with Blueshift includes the following steps:

  • Set up your Lob account.
  • Add an adapter for the Lob app.
  • Add a Cloud App template.

Set up your Lob account

To integrate with Blueshift, you need the API key from your Inkit account. You can find your account's API keys in your Dashboard Settings.

For more information about the Lob API, see https://lob.com/docs/node#postcards_create.

Add an adapter for the Lob app

To add a Lob adapter in Blueshift, complete the following steps:

  1. Sign in to the Blueshift app, and click Apps in the left navigation menu.
  2. Go to All Apps, search for, and select Lob.
  3. You can also go to Direct Mail Apps and select Lob.
  4. Click Configure to view all the configured adapters.
  5. Click +ADAPTER to add an adapter.
  6. Add a Name for the adapter.  If you have multiple adapters, the adapter name helps you to identify the integration.
  7. Provide the following details for integration:dmail_lob.png
    Field Description
    API key The API key from your Lob account.
  8. Add information for any Additional Headers.
  9. Click Save to add the adapter.

    The adapter is now added and you can use it in your Cloud App template.

Create a Lob cloud app template

A Cloud App template is required to send a payload to Lob from a campaign. With the Lob template, you can send postcards to users.

To add a Salesforce Cloud App template, complete the following steps:

  1. Go to Creatives > Cloud App.
  2. Click +TEMPLATES on the Cloud App Templates page.
  3. Select the Lob app.

    Note: Only apps that support Cloud Apps templates and have atleast one adapter configured are displayed on the Cloud App Templates page.

  4. Configure the template including the name, tags and other relevant information. For more information, see Cloud Apps templates.

    lob_template.png

    Field Description
    Template Name Specify a name for the template to identify it on the index screen. 
    API Endpoint Specify the API endpoint that receives the request that we make. 
    Adapter Select the adapter to use to send the payload.
    Tags

    Specify tags to organize this template.

    Since this template is a Blueshift resource that you use in campaigns, you can use tagging to organize it under folders.

    For more information on this, see Tagging.

  5. On the Content tab, fill the form to specify the data and the format in which to send the data to Salesforce.

    You can also switch to JSON and specify the content in JSON format. However, once you switch to JSON, you cannot use the form layout again.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.