imatrix aNinja Form Integration

aNinja allows you to integrate your imatrix Website Forms into your aNinja account. In this article, we show you how the imatrix aNinja Form Integration can be done using a simple Javascript code.

imatrix aNinja Form Integration

You can integrate and augment the functionality of popular platforms with aNinja.

  • First, you need to find your API key
    • On the left sidebar, click on Settings > Users
    • Then, click the edit pen next to your name.
    • And, copy it to use it later in the integration
  • Now, login to your imatrix website editor
  • On the left side menu, click on Website Editor
  • Then, click on Edit Website in the middle of the page.
  • Type your email and password to login
  • On the left side menu, click on Pages 

  • Next to the form, on the right side, click on the little Settings gear
  • Scroll down to the Custom Info section
  • And insert your Javascript code under “Specify Custom Header”

imatrix aNinja Form Integration

  • Map the form fields to aNinja fields
  • Save and Publish
  • Go to your website, refresh and test submitting a form.
  • Then, check your aNinja account for the new lead automatically generated after the form submission.
You can use the below Javascript code

Where does the imported data appear

After the integration, you can search your aNinja CRM for the imported leads. You can also search for any custom field, opportunities, and any other info that you have imported.

  • Lead contacts appear in the leads contact section in the lead view
  • Opportunities also appear in the opportunity section in the lead view
  • The company’s info appears on the top left of the lead view, in the Company section.
  • Custom fields appear in the custom field section of the lead view.
  • Lead Search is a field that also appears in the bottom left of the lead view. Specifically, these are info/links on the lead or the organization found in Google search.

Need help with imatrix aNinja Form Integration? Leave us an email at support@aninja.com. And we will happily assist you.

VistaPrint aNinja Form Integration

aNinja allows you to integrate your Vistaprint Website Forms into your aNinja account. In this article, we show you how the Vistaprint Form Integration can be done using a simple Javascript code.

Vistaprint aNinja Form Integration

You can integrate and augment the functionality of popular platforms with aNinja.

  • First, you need to find your API key
    • On the left sidebar, click on Settings > Users
    • Then, click the edit pen next to your name.
    • And, copy it to use it later in the integration
  • Now, login to your Vistaprint website editor
  • In the middle of the page, click on edit website
  • On the left side menu, click on General Settings > General
  • Then, choose Tools & Analytics
  • Under Other Tags add the Javascript code (see example below)Javascript aNinja Form Integration
  • Map the form fields to aNinja fields
  • Save and Publish
  • Go to your website, refresh and test submitting a form.
  • Then, check your aNinja account for the new lead automatically generated after the form submission.
You can use the below Javascript code

Where does the imported data appear?

After the integration, you can search your aNinja CRM for the imported leads. You can also search for any custom field, opportunities, and any other info that you have imported.

  • Lead’s contacts appear in the leads contact section in the lead view
  • Opportunities also appear in the opportunity section in the lead view
  • The company’s info appears on the top left of the lead view, in the Company section.
  • Custom fields appear in the custom field section of the lead view.
  • Lead Search is a field that also appears in the bottom left of the lead view. Specifically, these are info/links on the lead or the organization found in Google search.

Need help with Vistaprint aNinja Form Integration? Leave us an email at support@aninja.com. And we will happily assist you.

Standalone / Curl Applications Integration

With Standalone / Curl Applications Integration you can forward leads into your aNinja account simply using a programming code or an API. In this article, we show you how the Standalone / Curl Applications Integration can be done.

Standalone / Curl Applications

The following example is in PHP, but can be repurposed to your language of choice (Python, Ruby, Java, etc..)

Sample PHP API push

/**
* Basic snippet for posting with command line curl
*/
$apikey = '123456';

function doCurl($apikey = null, $data = []) {
$data = http_build_query($data);

$api_base = 'https://aninja.com/api/v1';

$api_endpoint= '/contactform/?apikey='.$apikey.'';

$cmd = 'curl -sL --data ''.$data.'' "'.$api_base.'/'.$api_endpoint.'"';

Fields mapping Table

The following are standard fields you can map to, in addition to any custom fields created in your application that you can see under Settings > Custom fields.

Where does the imported data appear

After the integration, you can search your aNinja CRM for the imported leads. You can also search for any custom field, opportunities, and any other info that you have imported.

  • Lead’s contacts appear in the leads contact section in the lead view
  • Opportunities also appear in the opportunity section in the lead view
  • The company’s info appears on the top left of the lead view, in the Company section.
  • Custom fields appear in the custom field section of the lead view
  • Lead Search is a field that also appears in the bottom left of the lead view. Specifically, these are info/links on the lead or the organization found in Google search.

Need help with teh Integration? Leave us an email at support@aninja.com. And we will happily assist you.

Javascript API Integration

With Javascript API Integration you can forward leads into your aNinja account simply using a programming code or an API. In this article, we show you how Javascript API Integration can be done.

Javascript applications

The following example is of an API request in Javascript. You can customize off of the following examples to suit your actual code/use case.

Example use cases: Squarespace, Shopify

ajax({
type: 'POST',
url: "https://aninja.com/api/v1/contactform/?apikey=YOUR_API_KEY_HERE",
data:$.param({contact_name : contact_name}) + "&"+ $.param({contact_email1 : contact_email1}) + "&"+ $.param({contact_phone1 : contact_phone1})+ "&"+ $.param({company_name : company_name}),
success: function (data) {
alert('success');
}
});

Fields mapping Table

The following are standard fields you can map to, in addition to any custom fields created in your application that you can see under Settings > Custom fields.

Where does the imported data appear

After the integration, you can search your aNinja CRM for the imported leads. You can also search for any custom field, opportunities, and any other info that you have imported.

  • Lead’s contacts appear in the leads contact section in the lead view
  • Opportunities also appear in the opportunity section in the lead view
  • The company’s info appears on the top left of the lead view, in the Company section.
  • Custom fields appear in the custom field section of the lead view
  • Lead Search is a field that also appears in the bottom left of the lead view. Specifically, these are info/links on the lead or the organization found in Google search.

Need help with Javascript API Integration? Leave us an email at support@aninja.com. And we will happily assist you.

Webflow Webhook Integration

Webflow integration can be done either through Zapier or through webhook. In this article we’re going to show you the Webflow through webhook

What’s a Webhook

A webhook is a lightweight API that powers one-way data sharing, triggered by events. And it delivers data to other applications as it happens, meaning you get data immediately. All you have to do is give the webhook provider (e.g.Webflow) a URL to deliver requests to (e.g. aNinja’s URL).

So, with Webflow Webhook Integration you can forward leads into your aNinja account simply by setting up a Webhook for your form submission. Find your aNinja API key before getting started.

Setting up a webhook in Webflow

  • First, log in to your Webflow account.
  • Then, go to your Webflow Project Settings.Webflow Webhook Integration
  • Choose Integrations.Webflow Webhook Integration
  • Click + Add webhook (at the bottom)
  • Here, you need to find your aNinja API key
  • Lastly, set the webhook on “Form submissions” and use the endpoint URL:

https://leads.aninja.com/handlers/webflow/redirect.php?apikey=YOUR_ANINJA_API_KEY <– replace with your aNinja API key.

Fields mapping

Map the Data on the aNinja fields and Form fields

These are the default aNinja fields:

Where does the imported data appear

After the integration, you can search your aNinja CRM for the imported leads. The name and email appear in the lead’s contact section in the lead view. Need help with Webflow Webhook Integration? Leave us an email at support@aninja.com. And we will happily assist you.

Wix aNinja Webhook integration

aNinja allows you to integrate your Wix Website into your aNinja account.

In this article, we show you how the Wix aNinja integration can be easily done.

Wix Integration

You can integrate and augment the functionality of popular platforms with aNinja.

  • First, you need to find your API key
    • On the left sidebar, click on Settings > Users
    • Then, click the edit pen next to your name.
    • And, copy it to use it later in the integration

Enabling Wix Form Webhooks

To get your Wix forms to push the form submission information into aNinja, you can use webhooks in Wix.

  • First, on your Wix site, start by enabling Velo Dev Mode:
    • This is as simple as going to your site (Edit site), and in the top bar where Dev Mode is indicated, turning on Dev Mode.
  • Next, you can go back to your Wix dashboard, and under Automations, click to add a new Automation.
  • Then, choose a Trigger event (for example on all form submissions).
  • Now, choose the webhook option.
  • And, configure the webhook to point to the aNinja webhook handler for Wix:
    • https://leads.aninja.com/handlers/wix/redirect.php
  • Then, choose “Customize structure” to map the form fields to the aNinja fields.

These are the default aNinja fields:

  • Lastly, hit Save and test it out with a form on your Wix site.

Need help in your Wix aNinja integration? Leave us an email at support@aninja.com. We will happily assist you!

Integrating Hubspot forms with aNinja

In this article, we show you how integrating the Hubspot forms with aNinja can be done in 2 steps.

The integration allows you to forward leads into your aNinja account simply using a programming code or an API. Which allows you to augment the number of your leads.

1- In Hubspot Marketing Hub, Edit your page, then, go to page Settings > Advanced Options.

2- In Footer HTML add the following Javascript (here, you will need to adapt the code to your form and use your aNinja API key).

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js”></script>
<script>

$(document).on(‘submit’,’form’,function(){
var contact_name = $(“input[name=’firstname’]”).val() +” “+$(“input[name=’lastname’]”).val();
var contact_email1 = $( “input[name=’email’]”).val();
var contact_phone1 = $( “input[name=’phone’]”).val();

    $.ajax({
        type: 'POST',
        url: "https://aninja.com/api/v1/contactform/?apikey=YOUR_ANINJA_API_KEY_HERE",
        data: {
            'contact_name': contact_name,
            'contact_email1': contact_email1,
            'contact_phone1': contact_phone1,
            'your-comments': 'From my Hubspot form'
        },
        success: function (data) {
            console.log('[Info] aNinja form submitted successfully');
        }
    });
});

</script>

  • Also, check if your Hubspot plan offers Workflows. If so, you can post the Form submission to aNinja through a Workflow webhook in Hubspot.

Where does the imported data appear

After the integration, you can search your aNinja CRM for the imported leads. You can also search for any custom field, opportunities, and any other info that is collected from the forms.

  • Lead’s contact appears in the leads contact section in the lead view
  • Opportunities also appear in the opportunity section in the lead view
  • The company’s info appears on the top left of the lead view, in the Company section.
  • Custom fields appear in the custom field section of the lead view
  • Lead Search is a field that also appears in the bottom left of the lead view. Specifically, these are info/links on the lead or the organization found in Google search.

Need help integrating Hubspot forms with aNinja? Leave us an email at support@aninja.com. We’re more than happy to assist you.

Calendly action did not trigger lead creation in aNinja

Calendly action did not trigger lead creation in aNinja?

 

Basically, any activity in your Calendly Calendar (like booking a demo with a lead), must trigger the creation of a lead into your aNinja account.

Calendly action did not trigger the creation of a lead

When you installed Calendly to use it as your calendar in your aNinja, the system has set a trigger that allows creating a lead in aNinja, after any action with leads in Calendly.

If Calendly‘s action did not trigger lead creation in aNinja, that means that there is an issue with the communication between the 2 applications.

Let’s get to know how API work in this case. API is a set of functions that allows 2 applications to interact with each other. Even more, to exchange data. In our case, the applications are Calendly and aNinja.

  • For the integration to work, Calendly shares its personal access token with you. You then save it in your aNinja account.
  • If you can’t see the webhooks data under the User / Organization Webhooks, you want to check your Calendly plan. The integration requires a “Professional” account.
  • Sometimes, Calendly automatically disables the webhooks if it was receiving error codes from our server. To re-enable it, you should delete and recreate the webhook.
  • You want to click on Refresh Webhooks every time you make changes to the webhooks.

Need help with this? Just reach us at support@aninja.com. We will happily assist you!

aNinja keys & codes

In aNinja, you have private keys and codes that you use for your integrations.

It’s important to know your aNinja keys & codes, know how to use them, and where to find them in your aNinja install.

aNinja Keys & Codes

Getting started tips

In this article, we bring you tips that will help you getting started with aNinja quickly and efficiently.

Getting started tips

We recommend you follow this sequence of steps to make your use of aNinja easier and more efficient. Click on the links for the detailed articles.

We also recommend you check the aNinja Onboarding article to get an overview of the aNinja features.

Connect your email and phone number
Additional Apps
  • If you want to use Zendesk for your ticketing
    • On the left sidebar, click on Settings > Apps
    • Install Zendesk in your aNinja account
  • If you want to use Calendly as your Calendar
Add and manage Users & Teams
aNinja Keys
Settings
  • Set your rules in Global settings
    • On the left sidebar, click on Settings > Global Settings.
    • Choose what works better for you from these settings
    • Here, you can directly enable SendGrid which allows you to send a large number of email sequences with no limitations.
Leads
Create your automations
  • Create Templates (email / text / note templates)
    • On the left sidebar, click on Automation > Templates
    • Templates are samples of emails and texts that you send to leads without re-typing the content every time.
  • Create Sequences
    • On the left sidebar, click on Automation > Sequences
    • Now that you’ve created your templates, you can use them to launch email sequences and text sequences to your leads. So Sequences allow you to use the email and text templates you’ve created, and send them to leads, in sequence, in a different interval of time.
  • Create Triggers
    • On the left sidebar, click on Automation > Triggers
    • After you’ve created the templates and sequences, you can set your triggers. Triggers are email and text templates delegated to be sent to the leads based on an event or condition.
  • Add an unsubscribe link to your outbounds for security.
  • Create a transactional email
Manage your Marketing Features

Search for more help articles in the aNinja Knowledge base

Have any specific questions about the getting started tips? Leave us an email at support@aninja.com. Our support team is more than happy to assist you!