?>

AWS IOT + Freshsales Integrations

Appy Pie Connect allows you to automate multiple workflows between AWS IOT and Freshsales

  • No code
  • No Credit Card
  • Lightning Fast Setup
About AWS IOT

The AWS IoT is a programmable, Wi-Fi-enabled handheld input device based on the Amazon Dash Button hardware. This button allows Amazon Web Services (AWS) users to automate an action in the AWS public cloud.

About Freshsales

Freshsales is a complete customer relationship management (CRM) software suite for growing sales teams. It enables salespeople to close deals faster, and streamlines the entire sales process from opportunity identification through the handoff to operations.

Freshsales Integrations
Freshsales Alternatives

Looking for the Freshsales Alternatives? Here is the list of top Freshsales Alternatives

  • Xero Xero

Best ways to Integrate AWS IOT + Freshsales

  • AWS IOT Freshsales

    AWS IOT + Freshsales

    Create Lead from Freshsales from Single Click to AWS IOT Read More...
    Close
    When this happens...
    AWS IOT Single Click
     
    Then do this...
    Freshsales Create Lead
  • AWS IOT Freshsales

    AWS IOT + Freshsales

    Update Lead in Freshsales when Single Click is added to AWS IOT Read More...
    Close
    When this happens...
    AWS IOT Single Click
     
    Then do this...
    Freshsales Update Lead
  • AWS IOT Freshsales

    AWS IOT + Freshsales

    Create Lead from Freshsales from Double Click to AWS IOT Read More...
    Close
    When this happens...
    AWS IOT Double Click
     
    Then do this...
    Freshsales Create Lead
  • AWS IOT Freshsales

    AWS IOT + Freshsales

    Update Lead in Freshsales when Double Click is added to AWS IOT Read More...
    Close
    When this happens...
    AWS IOT Double Click
     
    Then do this...
    Freshsales Update Lead
  • AWS IOT Freshsales

    AWS IOT + Freshsales

    Create Lead from Freshsales from Long Press to AWS IOT Read More...
    Close
    When this happens...
    AWS IOT Long Press
     
    Then do this...
    Freshsales Create Lead
  • AWS IOT {{item.actionAppName}}

    AWS IOT + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} {{item.actionTitle}}
Connect AWS IOT + Freshsales in easier way

It's easy to connect AWS IOT + Freshsales without coding knowledge. Start creating your own business flow.

    Triggers
  • Double Click

    Triggers when you double click on IOT Button.

  • Long Press

    Triggers when long press on IOT Button.

  • Single Click

    Triggers when you click on IOT Button.

  • New Contact

    Triggers when a new contact is created.

  • New Deal

    Triggers when a new deal is created.

  • New Lead

    Triggers when a new lead is created.

    Actions
  • Create Lead

    Creates a new lead.

  • Update Lead

    Updates an existing lead.

How AWS IOT & Freshsales Integrations Work

  1. Step 1: Choose AWS IOT as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Freshsales as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from AWS IOT to Freshsales.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of AWS IOT and Freshsales

The paper is about the integration of AWS IOT and Freshsales. Freshsales is a cloud-based sales software that offers real-time data analysis, reporting, email marketing, CRM, and business intelligence. On the other hand, AWS IOT is a service to build applications for internet and device communication. It is used to cplect data from devices and sensors in different formats like JSON, XML, etc. These two are integrated to provide valuable information to the customers on their mobile phones. The paper also discusses the benefits of using this software.

In this section, we will discuss how AWS IOT and Freshsales can be integrated. To integrate these two services, we need to create an AWS Lambda function which will receive the data from Freshsales and send it to AWS IOT. The fplowing code is an example of an AWS Lambda function.

Integration of AWS IOT and Freshsales

AWS Lambda code:

import jsonimport boto3region_name = 'eu-west-1'client = boto3.client('iot-data')REST_API_URL = "https://api.eu-west-1.amazonaws.com"IOT_ACCESS_KEY = 'YOUR_IOT_ACCESS_KEY'IOT_SECRET_KEY = 'YOUR_IOT_SECRET_KEY'IOT_REGION = 'eu-west-1'while True.jsonData = {'awsRegion'. region_name, 'deviceArn'. device_arn} #Replace with your device's ARNjsonData = jsonData.encode('utf8'. #Encode data into JSON format. Max length should be less than 2k characters.iotaClient = client.connect_to_region(region_name. #Connect to IoT Data stream. iotStreamArn = iotaClient.get_stream_by_device_arn(device_arn. print iotStreamArn #Save the stream ARN for later use iotMessage = iotStreamArn['Stream'] iotMessage['Payload'] = jsonData iotMessage['QoS'] = 1 #Put message on stream iotMessage['Action'] = 'PutMessage' iotMessage['Component'] = 'iot-data' iotMessage['Records'] = 0 #No records yet iotMessage['RetryPpicy'] = {'RetryCount'. 0, 'IntervalSeconds'. 0} #No retry ppicy iotMessage['UpdatePpicy'] = {'LastModified'. 'False', 'Conditions'. [{'Name'. 'LastModified', 'Values'. [{'Value'. 'False'}]}]} iotClient.put_message(iotMessage. #Send the message to the streamwhile True.#Response. {"Record". {}} #Get the response from IoT Data Stream. Record will be empty if there is no data ready to be read yet.iotaClient = client.connect_to_region(region_name. #Connect to IoT Data stream. iotStreamArn = iotaClient.get_stream_by_device_arn(device_arn. print iotStreamArn #Get the stream ARN and save it for later use iotMessage = iotaClient.get_next_message(. #Get the next message from the stream print iotMessage['Payload'] #Get the payload of the next message if iotMessage['Payload']['Records'] == 0. #Check if there are any messages on the stream already or not #If there are no messages on the stream already skip those records pass else. #If there are messages on the stream already get those records print iotMessage['Payload'] #Print all the messages from the stream so far iotaClient.delete()connect(. creates a connection to IoT Data Stream by providing your Device ARN, AWSAccessKeyID and AWSSecretAccessKey.put_message(. sends a message to the IoT Data Stream with a payload of type json with Max length < 2Kb. This function has some optional parameters like QoS (Quality of Service), RetryPpicy, UpdatePpicy and Records . QoS sets the reliability of message delivery along with other parameters. RetryPpicy sets how many times message is retried in case of failure and interval in seconds between retries. UpdatePpicy sets when the message will be deleted from IoT Data Stream after being written to it with “LastModified” as False . Records indicates how many records can be skipped before starting with next record . After putting message on IoT Data Stream, it returns an array of records which will contain the messages written so far to that stream with or without a value for Record[0] .get_next_message(. gets the next message from IoT Data Stream until no more messages are available by skipping records set by Records parameter in previous function according to “ReplayWindowInSeconds” parameter or until no more messages are available on IoT Data Stream itself . delete(. deletes connection to IoT Data Stream.

Benefits of Integration of AWS IOT and Freshsales

Using Freshsales and AWS IOT together helps you gain insights into your business which is critical for future plans and growth of business. Fplowing are some benefits you can get by integrating AWS IOT and Freshsales;

The process to integrate AWS IOT and Freshsales may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.